AI optimized test-driven JavaScript UI component development
Find a file
2025-11-03 21:36:45 +01:00
src init: seeding the project repo 2025-11-03 20:28:51 +01:00
test init: seeding the project repo 2025-11-03 20:28:51 +01:00
tutorials doc: Tutorials for new users 2025-11-03 21:36:45 +01:00
.gitignore init: seeding the project repo 2025-11-03 20:28:51 +01:00
LICENSE Initial commit 2025-11-03 19:19:47 +00:00
package-lock.json churn: enabling deterministic install 2025-11-03 20:52:12 +01:00
package.json init: seeding the project repo 2025-11-03 20:28:51 +01:00
README.md init: seeding the project repo 2025-11-03 20:28:51 +01:00
vite.config.js init: seeding the project repo 2025-11-03 20:28:51 +01:00

🧪 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 environment
  • vite.config.js — dev preview config