fix: add Vite plugin to load .template files as text for Vitest #14
Annotations
10 errors
|
src/cli/e2e/07-classify.test.ts > classify command > does not create duplicate entries for aggregated activities:
src/cli/e2e/07-classify.test.ts#L166
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ src/cli/e2e/07-classify.test.ts:166:30
|
|
src/cli/e2e/07-classify.test.ts > classify command > does not aggregate compound activities with non-compound:
src/cli/e2e/07-classify.test.ts#L153
Error: expect(received).toBeOneOf()
Expected value to be one of:
Array [
1,
2,
]
Received:
0
❯ src/cli/e2e/07-classify.test.ts:153:35
|
|
src/cli/e2e/07-classify.test.ts > classify command > aggregates duplicate activities by merging messages:
src/cli/e2e/07-classify.test.ts#L115
AssertionError: expected undefined to be defined
❯ src/cli/e2e/07-classify.test.ts:115:25
|
|
src/cli/e2e/07-classify.test.ts > classify command > writes classifications.json with all activities:
src/cli/e2e/07-classify.test.ts#L51
AssertionError: expected 0 to be greater than or equal to 10
❯ src/cli/e2e/07-classify.test.ts:51:31
|
|
src/cli/e2e/07-classify.test.ts > classify command > writes classify_stats.json to cache:
src/cli/e2e/07-classify.test.ts#L40
AssertionError: expected 0 to be greater than or equal to 10
❯ src/cli/e2e/07-classify.test.ts:40:35
|
|
src/cli/e2e/05-preview.test.ts > preview command > respects --max-results flag:
src/cli/e2e/helpers.ts#L222
Error: CLI stderr:
✗ Classification failed: Network error: Uncached HTTP request to https://api.anthropic.com/v1/messages blocked: E2E cache is locked (E2E_CACHE_LOCKED=true). All HTTP requests must be cached. For E2E tests, set UPDATE_E2E_CACHE=true to allow API calls.
❯ runCli src/cli/e2e/helpers.ts:222:11
❯ src/cli/e2e/05-preview.test.ts:101:24
|
|
src/cli/e2e/05-preview.test.ts > preview command > shows classified activities in output:
src/cli/e2e/helpers.ts#L222
Error: CLI stderr:
✗ Classification failed: Network error: Uncached HTTP request to https://api.anthropic.com/v1/messages blocked: E2E cache is locked (E2E_CACHE_LOCKED=true). All HTTP requests must be cached. For E2E tests, set UPDATE_E2E_CACHE=true to allow API calls.
❯ runCli src/cli/e2e/helpers.ts:222:11
❯ src/cli/e2e/05-preview.test.ts:92:24
|
|
src/cli/e2e/05-preview.test.ts > preview command > writes preview_activities.json to cache:
src/cli/e2e/helpers.ts#L257
Error: Cache file not found: /tmp/chat-to-map-e2e-u1MBwH/chats/whatsapp-sample/2025-12-26T11-33-34-fa0f221eb6083d49/preview_activities.json
❯ readCacheJson src/cli/e2e/helpers.ts:257:36
❯ src/cli/e2e/05-preview.test.ts:61:24
|
|
src/cli/e2e/05-preview.test.ts > preview command > writes preview_stats.json to cache:
src/cli/e2e/helpers.ts#L257
Error: Cache file not found: /tmp/chat-to-map-e2e-u1MBwH/chats/whatsapp-sample/2025-12-26T11-33-34-fa0f221eb6083d49/preview_stats.json
❯ readCacheJson src/cli/e2e/helpers.ts:257:36
❯ src/cli/e2e/05-preview.test.ts:54:19
|
|
src/cli/e2e/05-preview.test.ts > preview command > classifies on first run, uses cache on second run:
src/cli/e2e/helpers.ts#L222
Error: CLI stderr:
✗ Classification failed: Network error: Uncached HTTP request to https://api.anthropic.com/v1/messages blocked: E2E cache is locked (E2E_CACHE_LOCKED=true). All HTTP requests must be cached. For E2E tests, set UPDATE_E2E_CACHE=true to allow API calls.
❯ runCli src/cli/e2e/helpers.ts:222:11
❯ src/cli/e2e/05-preview.test.ts:36:18
|