diff --git a/src/App.test.tsx b/src/App.test.tsx
index 582241b..7e5eedb 100644
--- a/src/App.test.tsx
+++ b/src/App.test.tsx
@@ -1,10 +1,9 @@
-import { describe, expect, it } from 'vitest'
import { render, screen } from '@testing-library/react'
import App from './App'
describe('App', () => {
- it('affiche le contenu minimal', () => {
+ it('renders without crashing', () => {
render()
- expect(screen.getByRole('heading', { level: 1, name: 'Hello world' })).toBeInTheDocument()
+ expect(screen.getByRole('main')).toBeInTheDocument()
})
})
diff --git a/src/App.tsx b/src/App.tsx
index 4ef2f09..35e11ab 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,9 +1,5 @@
function App() {
- return (
-
- Hello world
-
- )
+ return
}
export default App