We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7dbf4a commit 893e311Copy full SHA for 893e311
src/App.test.js
@@ -1,8 +1,10 @@
1
-import { render, screen } from '@testing-library/react';
+import { render } from '@testing-library/react';
2
+
3
import App from './App';
4
-test('renders learn react link', () => {
5
- render(<App />);
6
- const linkElement = screen.getByText(/learn react/i);
7
- expect(linkElement).toBeInTheDocument();
+describe('App', () => {
+ it('renders header', () => {
+ const { queryByText } = render(<App />);
8
+ expect(queryByText('SOOM.GG')).not.toBeNull();
9
+ });
10
});
0 commit comments