We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d0e4e6 commit f8b2b11Copy full SHA for f8b2b11
1 file changed
frontend/src/App.test.js
@@ -1,8 +1,8 @@
1
import { render, screen } from '@testing-library/react';
2
import App from './App';
3
4
-test('renders learn react link', () => {
+test('renders the main application header', () => {
5
render(<App />);
6
- const linkElement = screen.getByText(/learn react/i);
7
- expect(linkElement).toBeInTheDocument();
8
-});
+ const headerElement = screen.getByText(/Huffman Coding Visualizer/i);
+ expect(headerElement).toBeInTheDocument();
+});
0 commit comments