Addressing comment on PR #46 #52
Annotations
9 errors
|
copilot
Process completed with exit code 1.
|
|
src/system/auth.test.ts > Type inference > should correctly infer AuthenticationProvider type:
packages/spec/src/system/auth.test.ts#L749
AssertionError: expected 'standard_auth' to be 'authentication' // Object.is equality
Expected: "authentication"
Received: "standard_auth"
❯ src/system/auth.test.ts:749:27
|
|
src/system/auth.test.ts > StandardAuthProviderSchema > should accept valid authentication provider:
packages/spec/src/system/auth.test.ts#L690
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading 'parse')"
❯ src/system/auth.test.ts:690:68
|
|
src/system/auth.test.ts > Type inference > should correctly infer AuthenticationProvider type:
packages/spec/src/system/auth.test.ts#L749
AssertionError: expected 'standard_auth' to be 'authentication' // Object.is equality
Expected: "authentication"
Received: "standard_auth"
❯ src/system/auth.test.ts:749:27
|
|
src/system/auth.test.ts > AuthenticationProviderSchema > should accept valid authentication provider:
packages/spec/src/system/auth.test.ts#L690
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading 'parse')"
❯ src/system/auth.test.ts:690:68
|
|
src/system/auth.test.ts > StandardAuthProviderSchema > should accept valid authentication provider:
packages/spec/src/system/auth.test.ts#L690
AssertionError: expected [Function] to not throw an error but '[\n {\n "received": "authenticati…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"received\": \"authentication\",
\"code\": \"invalid_literal\",
\"expected\": \"standard_auth\",
\"path\": [
\"type\"
],
\"message\": \"Invalid literal value, expected \\\"standard_auth\\\"\"
}
]"
❯ src/system/auth.test.ts:690:66
|
|
src/system/auth.test.ts > OStandardAuthProviderSchema > should accept all supported OAuth providers:
packages/spec/src/system/auth.test.ts#L88
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading 'parse')"
❯ src/system/auth.test.ts:88:67
❯ src/system/auth.test.ts:82:15
|
|
src/system/auth.test.ts > OStandardAuthProviderSchema > should accept minimal OAuth provider configuration:
packages/spec/src/system/auth.test.ts#L64
TypeError: Cannot read properties of undefined (reading 'parse')
❯ src/system/auth.test.ts:64:48
|
|
src/system/auth.test.ts > OStandardAuthProviderSchema > should accept valid OAuth provider configuration:
packages/spec/src/system/auth.test.ts#L54
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading 'parse')"
❯ src/system/auth.test.ts:54:67
|