AI optimized test-driven JavaScript UI component development
| src | ||
| test | ||
| tutorials | ||
| .gitignore | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
🧪 TestDrive UI
Baseline scaffold for test-driven browser UI component development with Lit, Mocha, and jsdom.
Commands
| Command | Description |
|---|---|
npm install |
Install dependencies |
npm test |
Run all Mocha tests headlessly |
npm run dev |
Start Vite dev server and preview components |
Folder layout
src/components/— individual components (each with .js, .test.js, .stories.js)test/setup.js— shared JSDOM environmentvite.config.js— dev preview config