tests
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import { render, screen } from '@testing-library/react';
|
||||
|
||||
describe('Hello World Test', () => {
|
||||
it('should display hello world', () => {
|
||||
// Render a simple component
|
||||
render(<div>Hello World</div>);
|
||||
|
||||
// Check if "Hello World" is in the document
|
||||
const helloWorldElement = screen.getByText(/hello world/i);
|
||||
expect(helloWorldElement).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user