Skip to content

Commit 0a5fd99

Browse files
chapterjasonclaude
andcommitted
feat(test): add Vitest test suite and GitHub Actions workflow
28 tests covering LocalStore (CRUD, version conflicts, checklist nesting, dependency cycles, E2E flow) and RemoteStore (success paths, 404/409/5xx error mapping, timeout with status 504, network failure). GitHub Actions runs tests on push to master and all PRs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f5c63a6 commit 0a5fd99

5 files changed

Lines changed: 1806 additions & 21 deletions

File tree

.github/workflows/test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
concurrency:
9+
group: test-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
test:
14+
name: Run tests
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
steps:
19+
- uses: actions/checkout@v6
20+
21+
- uses: actions/setup-node@v6
22+
with:
23+
node-version: 24
24+
cache: npm
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Run tests
30+
run: npm test

0 commit comments

Comments
 (0)