| Files | Owner |
|---|---|
src/data.js, tests/data.test.js, index.html, src/style.css, src/pop-up.js |
Christoforos |
src/state.js, src/table.js, src/app.js, tests/state.test.js, tests/table.test.js |
Stavros |
src/search.js, src/modal.js, tests/search.test.js, tests/modal.test.js, docs/, package.json, vitest.config.js |
Theodore |
Nobody edits another person's files without agreement.
Work on your own branch: dev-<yourname>. Open a pull request into main when your work is ready for review.
1. Write the test first — it must fail (red)
2. Write the implementation — test passes (green)
3. Commit tests and implementation separately
type(scope): short description
feat(search): add fuzzy operator
test(modal): add closeModal spy test
fix(data): replace parseInt with parseFloat
docs(readme): add setup instructions
Types: feat, fix, test, docs, refactor
npm test # run once
npm run test:watch # watch modeAll tests must pass before merging into main.
- Return
nullfor missing or invalid values,[]for empty collections - One
try/catchin the entire project — insidefetchHeroesonly - No
throwanywhere else