Skip to content

2.0.0

2.0.0 #50

Triggered via pull request April 16, 2024 12:24
Status Failure
Total duration 29s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
src/nextjs.test.ts > csrfProtect tests > should work in req.body: src/nextjs.test.ts#L24
AssertionError: expected undefined to deeply equal null - Expected: null + Received: undefined ❯ src/nextjs.test.ts:24:23
src/nextjs.test.ts > csrfProtect tests > should work in x-csrf-token header: src/nextjs.test.ts#L41
AssertionError: expected undefined to deeply equal null - Expected: null + Received: undefined ❯ src/nextjs.test.ts:41:23
src/nextjs.test.ts > csrfProtect tests > should handle server action form submissions: src/nextjs.test.ts#L62
AssertionError: expected undefined to deeply equal null - Expected: null + Received: undefined ❯ src/nextjs.test.ts:62:23
src/nextjs.test.ts > csrfProtect tests > should handle server action non-form submissions: src/nextjs.test.ts#L80
AssertionError: expected undefined to deeply equal null - Expected: null + Received: undefined ❯ src/nextjs.test.ts:80:23
src/nextjs.test.ts > csrfProtect tests > should fail with token from different secret: src/nextjs.ts#L50
Error: csrf validation error ❯ src/nextjs.ts:50:15 ❯ src/nextjs.test.ts:95:23
src/nextjs.test.ts > csrfProtect tests > should fail with an invalid token: src/nextjs.ts#L50
Error: csrf validation error ❯ src/nextjs.ts:50:15 ❯ src/nextjs.test.ts:111:23
src/nextjs.test.ts > csrfProtect tests > should fail with non-base64 token: src/nextjs.ts#L50
Error: csrf validation error ❯ src/nextjs.ts:50:15 ❯ src/nextjs.test.ts:127:23
src/nextjs.test.ts > csrfProtect tests > should fail with no token: src/nextjs.ts#L50
Error: csrf validation error ❯ src/nextjs.ts:50:15 ❯ src/nextjs.test.ts:140:23
src/nextjs.test.ts > csrfProtect tests > should fail with empty token: src/nextjs.ts#L50
Error: csrf validation error ❯ src/nextjs.ts:50:15 ❯ src/nextjs.test.ts:156:23
src/nextjs.test.ts > csrfProtect tests > should fail with non-base64 secret: src/nextjs.ts#L50
Error: csrf validation error ❯ src/nextjs.ts:50:15 ❯ src/nextjs.test.ts:173:23
lint: src/index.ts#L14
Missing file extension for "@/lib/util"
lint: src/lib/errors.ts#L4
Prefer default export on a file with single export
lint: src/lib/errors.ts#L4
Unnecessary semicolon
lint: src/nextjs.test.ts#L3
Missing file extension for "@/nextjs"
lint: src/nextjs.test.ts#L4
Missing file extension for "@/lib/util"
lint: src/nextjs.ts#L4
Missing file extension for "@/lib/config"
lint: src/nextjs.ts#L6
Missing file extension for "@/lib/errors"
lint: src/nextjs.ts#L7
Missing file extension for "@/lib/util"
lint: src/nextjs.ts#L58
Unnecessary return statement
lint: src/sveltekit.ts#L3
Missing file extension for "@/lib/config"