Compare commits

...

2 Commits

Author SHA1 Message Date
829bd6d5d8 Merge pull request '[QOTD-5] Configure test runner' (#3) from ssmp/qotd-5-r6 into main 2026-07-21 05:45:40 +00:00
sdlcadmin
47d6d61d51 [QOTD-5] Configure test runner with Vitest and placeholder test
Add src/placeholder.test.ts to confirm the Vitest harness works
end-to-end (npm test passes). Update CLAUDE.md project structure
to reflect the now-created src/ directory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-21 05:07:27 +00:00
2 changed files with 9 additions and 1 deletions

View File

@ -39,7 +39,8 @@ npm run dev
``` ```
quote-of-the-day-api/ quote-of-the-day-api/
├── src/ # TypeScript source (to be created) ├── src/ # TypeScript source
│ └── placeholder.test.ts # harness smoke test
├── dist/ # compiled output (git-ignored) ├── dist/ # compiled output (git-ignored)
├── package.json ├── package.json
├── package-lock.json ├── package-lock.json

7
src/placeholder.test.ts Normal file
View File

@ -0,0 +1,7 @@
import { describe, it, expect } from 'vitest';
describe('test harness', () => {
it('runs a passing test', () => {
expect(1 + 1).toBe(2);
});
});