Skip to content

Commit

Permalink
Test Primera.js
Browse files Browse the repository at this point in the history
  • Loading branch information
UO277382 committed Mar 8, 2024
1 parent b20c826 commit 9531085
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webapp/src/components/Primera.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { render, screen } from '@testing-library/react';
import Primera from './Primera';

test('renders learn react link', () => {
render(<Primera />);
const linkElement = screen.getByText(/Saber y Ganar: El Juego/i);
expect(linkElement).toBeInTheDocument();
});

0 comments on commit 9531085

Please sign in to comment.