Addressing comment on PR #245 #30
Annotations
10 errors
../tests/oauth-handlers.spec.ts > OAuth Handlers > Google OAuth Handler > should handle successful Google OAuth without authorization restrictions:
server/routes/auth/google.get.ts#L1
ReferenceError: defineOAuthGoogleEventHandler is not defined
❯ ../server/routes/auth/google.get.ts:1:16
❯ ../tests/oauth-handlers.spec.ts:337:7
|
../tests/oauth-handlers.spec.ts > OAuth Handlers > GitHub OAuth Handler > should handle missing user identity in authorization check:
server/routes/auth/github.get.ts#L3
ReferenceError: defineOAuthGitHubEventHandler is not defined
❯ ../server/routes/auth/github.get.ts:3:16
❯ ../tests/oauth-handlers.spec.ts:62:7
|
../tests/oauth-handlers.spec.ts > OAuth Handlers > GitHub OAuth Handler > should handle GitHub OAuth error:
server/routes/auth/github.get.ts#L3
ReferenceError: defineOAuthGitHubEventHandler is not defined
❯ ../server/routes/auth/github.get.ts:3:16
❯ ../tests/oauth-handlers.spec.ts:62:7
|
../tests/oauth-handlers.spec.ts > OAuth Handlers > GitHub OAuth Handler > should handle public app mode with no organizations:
server/routes/auth/github.get.ts#L3
ReferenceError: defineOAuthGitHubEventHandler is not defined
❯ ../server/routes/auth/github.get.ts:3:16
❯ ../tests/oauth-handlers.spec.ts:62:7
|
../tests/oauth-handlers.spec.ts > OAuth Handlers > GitHub OAuth Handler > should handle public app mode with organizations:
server/routes/auth/github.get.ts#L3
ReferenceError: defineOAuthGitHubEventHandler is not defined
❯ ../server/routes/auth/github.get.ts:3:16
❯ ../tests/oauth-handlers.spec.ts:62:7
|
../tests/oauth-handlers.spec.ts > OAuth Handlers > GitHub OAuth Handler > should handle GitHub OAuth with authorization restrictions - unauthorized user:
server/routes/auth/github.get.ts#L3
ReferenceError: defineOAuthGitHubEventHandler is not defined
❯ ../server/routes/auth/github.get.ts:3:16
❯ ../tests/oauth-handlers.spec.ts:62:7
|
../tests/oauth-handlers.spec.ts > OAuth Handlers > GitHub OAuth Handler > should handle GitHub OAuth with authorization restrictions - authorized user:
server/routes/auth/github.get.ts#L3
ReferenceError: defineOAuthGitHubEventHandler is not defined
❯ ../server/routes/auth/github.get.ts:3:16
❯ ../tests/oauth-handlers.spec.ts:62:7
|
../tests/oauth-handlers.spec.ts > OAuth Handlers > GitHub OAuth Handler > should handle successful GitHub OAuth without authorization restrictions:
server/routes/auth/github.get.ts#L3
ReferenceError: defineOAuthGitHubEventHandler is not defined
❯ ../server/routes/auth/github.get.ts:3:16
❯ ../tests/oauth-handlers.spec.ts:62:7
|
../tests/authorization.spec.ts:
node_modules/nuxt/dist/app/composables/error.js#L7
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
❯ ../node_modules/nuxt/dist/app/composables/error.js:7:31
Caused by: Caused by: ReferenceError: Cannot access 'mockRuntimeConfig' before initialization
❯ ../tests/authorization.spec.ts:11:21
❯ ../node_modules/nuxt/dist/app/composables/error.js:7:31
|
../tests/authentication.spec.ts:
server/modules/authentication.ts#L2
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/modules/authentication.ts:2:1
Caused by: Caused by: ReferenceError: Cannot access 'mockBuildGitHubAppHeaders' before initialization
❯ ../tests/authentication.spec.ts:22:26
❯ ../server/modules/authentication.ts:2:1
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
results
|
4.96 KB |
sha256:7cfd8ef614cad244a3959046d96f518dcb9d573d5453578c0365423f10e1b681
|
|