Addressing comment on PR #65 #24
Annotations
10 errors
../server/api/inspect-url.test.ts > URL handling with percent-encoding > rejects malformed URLs:
server/api/inspect-url.test.ts#L74
AssertionError: expected [Function] to throw an error
❯ ../server/api/inspect-url.test.ts:74:34
❯ ../server/api/inspect-url.test.ts:73:19
|
pages/run/[runId].test.ts > Vue component URL handling > ensures percent-encoded runIds work in URL paths:
app/pages/run/[runId].test.ts#L25
AssertionError: expected '/api/runs/12ef56gh' to match /^\/api\/runs\/[a-f0-9]{8}$/api\
- Expected:
/^\/api\/runs\/[a-f0-9]{8}$/
+ Received:
"/api/runs/12ef56gh"
❯ pages/run/[runId].test.ts:25:23
❯ pages/run/[runId].test.ts:23:16
|
../server/api/inspect-url.test.ts > URL handling with percent-encoding > rejects malformed URLs:
server/api/inspect-url.test.ts#L75
AssertionError: expected [Function] to throw an error
❯ ../server/api/inspect-url.test.ts:75:34
❯ ../server/api/inspect-url.test.ts:74:19
|
pages/run/[runId].test.ts > RunPage with percent-encoded URLs > handles complex percent-encoded URLs correctly:
app/pages/run/[runId].test.ts#L169
TypeError: Cannot read properties of undefined (reading '0')
❯ pages/run/[runId].test.ts:169:23
|
pages/run/[runId].test.ts > RunPage with percent-encoded URLs > displays error message when URL parsing fails:
app/pages/run/[runId].test.ts#L142
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ pages/run/[runId].test.ts:142:35
|
pages/run/[runId].test.ts > RunPage with percent-encoded URLs > handles API fetch errors gracefully:
app/pages/run/[runId].test.ts#L122
AssertionError: expected undefined to be truthy
- Expected:
true
+ Received:
undefined
❯ pages/run/[runId].test.ts:122:30
|
pages/run/[runId].test.ts > RunPage with percent-encoded URLs > loads run with percent-encoded spaces successfully:
app/pages/run/[runId].test.ts#L103
AssertionError: Target cannot be null or undefined.
❯ pages/run/[runId].test.ts:103:29
|
pages/run/[runId].test.ts > RunPage with percent-encoded URLs > loads run with percent-encoded forward slashes successfully:
app/pages/run/[runId].test.ts#L70
AssertionError: Target cannot be null or undefined.
❯ pages/run/[runId].test.ts:70:29
|
../server/api/runs.test.ts:
server/api/runs/[runId].ts#L1
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ ../server/api/runs/[runId].ts:1:1
Caused by: Caused by: ReferenceError: Cannot access 'mockGetRun' before initialization
❯ ../server/api/runs.test.ts:8:11
❯ ../server/api/runs/[runId].ts:1:1
|
../server/api/inspect-url.test.ts:
server/api/inspect-url.post.ts#L10
ReferenceError: defineEventHandler is not defined
❯ ../server/api/inspect-url.post.ts:10:16
❯ ../server/api/inspect-url.test.ts:3:1
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
results
|
1.58 KB |
sha256:4e72553277b9243296e42a3d240ff2e37dc39c0d4c12f56c5943a8d019e17dfa
|
|