chore(init): initial commit

This commit is contained in:
devcodetools committed 2026-09-13 14:41:24 +02:00
commit c33ecc3043
30 files changed
+6680

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { describe, expect, it } from 'vitest'
import { render, screen } from '@testing-library/react'
import App from './App'
describe('App', () => {
it('affiche le contenu minimal', () => {
render(<App />)
expect(screen.getByRole('heading', { level: 1, name: 'Hello world' })).toBeInTheDocument()
})
})
+9
View File
@@ -0,0 +1,9 @@
function App() {
return (
<main>
<h1>Hello world</h1>
</main>
)
}
export default App
+10
View File
@@ -0,0 +1,10 @@
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'
import './style.css'
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
</StrictMode>,
)
+1
View File
@@ -0,0 +1 @@
@import 'tailwindcss';
+1
View File
@@ -0,0 +1 @@
import '@testing-library/jest-dom/vitest'
+2
View File
@@ -0,0 +1,2 @@
/// <reference types="vite/client" />
/// <reference types="vite-plugin-pwa/client" />