6 |
--------------------------------------------------------------------------------
/fire/src/setupTests.js:
--------------------------------------------------------------------------------
1 | // jest-dom adds custom jest matchers for asserting on DOM nodes.
2 | // allows you to do things like:
3 | // expect(element).toHaveTextContent(/react/i)
4 | // learn more: https://github.com/testing-library/jest-dom
5 | import '@testing-library/jest-dom';
6 |
--------------------------------------------------------------------------------
/fire/src/App.test.js:
--------------------------------------------------------------------------------
1 | import { render, screen } from '@testing-library/react';
2 | import App from './App';
3 |
4 | test('renders learn react link', () => {
5 | render(We are a group of developers passionate to bring the best products to consumers.
10 |We are constantly testing our products for bugs and issues
11 |If you come accross any such bug or just want to give feedback to our team don't hesisate to contact us
12 |Email Address: react.editor@gmail.com
15 | 16 | 17 |Version 0.1
18 |
31 | {/* */}
34 |
61 |
62 | Video Editor
65 |{item.file.name}
33 | 36 |{status}
107 |
87 |
88 | Video Editor
91 |{formatTime(time)}
80 | 81 | 82 | 83 | 84 | 85 | {i === 0 ? : ''} 86 |