Skip to content

Commit f8b2b11

Browse files
committed
fix(ci): Update frontend test to match new UI
1 parent 5d0e4e6 commit f8b2b11

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

frontend/src/App.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { render, screen } from '@testing-library/react';
22
import App from './App';
33

4-
test('renders learn react link', () => {
4+
test('renders the main application header', () => {
55
render(<App />);
6-
const linkElement = screen.getByText(/learn react/i);
7-
expect(linkElement).toBeInTheDocument();
8-
});
6+
const headerElement = screen.getByText(/Huffman Coding Visualizer/i);
7+
expect(headerElement).toBeInTheDocument();
8+
});

0 commit comments

Comments
 (0)