Running Copilot coding agent #546
Annotations
3 errors
|
src/stack.test.ts > defineStack - Field Name Validation > should reject PascalCase field names in strict mode (default):
packages/spec/src/stack.test.ts#L562
AssertionError: expected [Function] to throw error matching /Field names must be lowercase snake_c…/ but got 'defineStack validation failed (1 issu…'
- Expected:
/Field names must be lowercase snake_case/
+ Received:
"defineStack validation failed (1 issue):
✗ objects.0.fields.FirstName: Invalid key in record"
❯ src/stack.test.ts:562:39
|
|
src/stack.test.ts > defineStack - Field Name Validation > should reject camelCase field names in strict mode (default):
packages/spec/src/stack.test.ts#L548
AssertionError: expected [Function] to throw error matching /Field names must be lowercase snake_c…/ but got 'defineStack validation failed (1 issu…'
- Expected:
/Field names must be lowercase snake_case/
+ Received:
"defineStack validation failed (1 issue):
✗ objects.0.fields.firstName: Invalid key in record"
❯ src/stack.test.ts:548:39
|
|
src/stack.test.ts > defineStack > should return config as-is in default mode (backward compatible):
packages/spec/src/stack.test.ts#L430
AssertionError: expected { manifest: { …(4) }, objects: [] } to be { manifest: { …(4) }, objects: [] } // Object.is equality
If it should pass with deep equality, replace "toBe" with "toStrictEqual"
Expected: { manifest: { …(4) }, objects: [] }
Received: serializes to the same string
Compared values have no visual difference.
❯ src/stack.test.ts:430:20
|