Skip to content

Commit

Permalink
Add test folder that include a placeholder test
Browse files Browse the repository at this point in the history
  • Loading branch information
Diegogagan2587 committed Jul 27, 2023
1 parent 7212995 commit 566d2c9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/App.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// tests/sample.test.js
/* eslint-disable no-unused-vars */
import { render, screen } from '@testing-library/react';
import React from 'react';

test('renders "Hello, World!"', () => {
render(<h1>Hi Buddy</h1>);
const helloElement = screen.getByText('Hi Buddy');
expect(helloElement).toBeInTheDocument();
});

0 comments on commit 566d2c9

Please sign in to comment.