Running Copilot coding agent #436
Annotations
10 errors
|
src/integration/connector/payment.test.ts > PaymentConnectorSchema > Example Configurations > should accept Stripe connector example:
packages/spec/src/integration/connector/payment.test.ts#L291
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"string\",
\"received\": \"undefined\",
\"path\": [
\"authentication\",
\"key\"
],
\"message\": \"Required\"
}
]"
❯ src/integration/connector/payment.test.ts:291:78
|
|
src/integration/connector/payment.test.ts > PaymentConnectorSchema > Complete Configuration > should accept full payment connector with all features:
packages/spec/src/integration/connector/payment.test.ts#L285
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"string\",
\"received\": \"undefined\",
\"path\": [
\"authentication\",
\"key\"
],
\"message\": \"Required\"
}
]"
❯ src/integration/connector/payment.test.ts:285:65
|
|
src/integration/connector/payment.test.ts > PaymentConnectorSchema > Basic Properties > should enforce snake_case for connector name:
packages/spec/src/integration/connector/payment.test.ts#L197
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"string\",
\"received\": \"undefined\",
\"path\": [
\"authentication\",
\"key\"
],
\"message\": \"Required\"
}
]"
❯ src/integration/connector/payment.test.ts:197:17
❯ src/integration/connector/payment.test.ts:185:18
|
|
src/integration/connector/payment.test.ts > PaymentConnectorSchema > Basic Properties > should accept minimal payment connector:
packages/spec/src/integration/connector/payment.test.ts#L180
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_type",\n…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_type\",
\"expected\": \"string\",
\"received\": \"undefined\",
\"path\": [
\"authentication\",
\"key\"
],
\"message\": \"Required\"
}
]"
❯ src/integration/connector/payment.test.ts:180:65
|
|
copilot
@objectstack/spec#test: command (/home/runner/work/spec/spec/packages/spec) /home/runner/work/_temp/ghcca-node/node/bin/pnpm run test exited (1)
|
|
src/integration/connector/payment.test.ts > PaymentConnectorSchema > Example Configurations > should accept Stripe connector example:
packages/spec/src/integration/connector/payment.test.ts#L291
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_union_di…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_union_discriminator\",
\"options\": [
\"oauth2\",
\"api-key\",
\"basic\",
\"bearer\",
\"none\"
],
\"path\": [
\"authentication\",
\"type\"
],
\"message\": \"Invalid discriminator value. Expected 'oauth2' | 'api-key' | 'basic' | 'bearer' | 'none'\"
}
]"
❯ src/integration/connector/payment.test.ts:291:78
|
|
src/integration/connector/payment.test.ts > PaymentConnectorSchema > Complete Configuration > should accept full payment connector with all features:
packages/spec/src/integration/connector/payment.test.ts#L285
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_union_di…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_union_discriminator\",
\"options\": [
\"oauth2\",
\"api-key\",
\"basic\",
\"bearer\",
\"none\"
],
\"path\": [
\"authentication\",
\"type\"
],
\"message\": \"Invalid discriminator value. Expected 'oauth2' | 'api-key' | 'basic' | 'bearer' | 'none'\"
}
]"
❯ src/integration/connector/payment.test.ts:285:65
|
|
src/integration/connector/payment.test.ts > PaymentConnectorSchema > Basic Properties > should enforce snake_case for connector name:
packages/spec/src/integration/connector/payment.test.ts#L197
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_union_di…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_union_discriminator\",
\"options\": [
\"oauth2\",
\"api-key\",
\"basic\",
\"bearer\",
\"none\"
],
\"path\": [
\"authentication\",
\"type\"
],
\"message\": \"Invalid discriminator value. Expected 'oauth2' | 'api-key' | 'basic' | 'bearer' | 'none'\"
}
]"
❯ src/integration/connector/payment.test.ts:197:17
❯ src/integration/connector/payment.test.ts:185:18
|
|
src/integration/connector/payment.test.ts > PaymentConnectorSchema > Basic Properties > should accept minimal payment connector:
packages/spec/src/integration/connector/payment.test.ts#L180
AssertionError: expected [Function] to not throw an error but '[\n {\n "code": "invalid_union_di…' was thrown
- Expected:
undefined
+ Received:
"[
{
\"code\": \"invalid_union_discriminator\",
\"options\": [
\"oauth2\",
\"api-key\",
\"basic\",
\"bearer\",
\"none\"
],
\"path\": [
\"authentication\",
\"type\"
],
\"message\": \"Invalid discriminator value. Expected 'oauth2' | 'api-key' | 'basic' | 'bearer' | 'none'\"
}
]"
❯ src/integration/connector/payment.test.ts:180:65
|
|
packages/spec/src/integration/connector/payment.test.ts:
packages/spec/src/integration/connector/payment.zod.ts#L1
Error: Cannot find package 'zod' imported from '/home/runner/work/spec/spec/packages/spec/src/integration/connector/payment.zod.ts'
❯ packages/spec/src/integration/connector/payment.zod.ts:1:1
❯ packages/spec/src/integration/connector/payment.test.ts:2:1
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
|