test(e2e): T1 init → tick → daemon status chain

- Add E2E test helper: createE2EContext, cleanupE2EContext, runUpulse,
  queryEventsDb, queryVitalsDb, listObjects
- Add T1 test suite (12 tests): init structure, git repo, staging
  worktree, node_modules, idempotent re-init, tick --dry-run, tick
  with DB writes, objects creation, collect events, daemon status
- Fix tick command: collectors/ → executors/ path (matches init scaffold)
- Add test:e2e script to package.json

ref #14
This commit is contained in:
2026-04-14 08:15:48 +00:00
parent 143fba2cbf
commit 9e37fa1aa8
4 changed files with 300 additions and 2 deletions
+2 -1
View File
@@ -12,7 +12,8 @@
],
"scripts": {
"build": "tsc",
"dev": "tsx src/cli.ts"
"dev": "tsx src/cli.ts",
"test:e2e": "npx tsx --test src/e2e/t1-init-daemon-tick.test.ts"
},
"dependencies": {
"@uncaged/pulse": "file:../pulse",