Skip to content

feat: add optional suffix for migration file generation #109

feat: add optional suffix for migration file generation

feat: add optional suffix for migration file generation #109

Triggered via push February 17, 2025 14:31
Status Failure
Total duration 21s
Artifacts

test.yml

on: push
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/commands/migrations/generate/index.test.ts > migrations generate command > should generate a migration: src/commands/migrations/generate/index.test.ts#L105
AssertionError: expected "spy" to be called with arguments: [ '12345', undefined, { …(9) }, …(1) ] Received: 1st spy call: [ "12345", undefined, { "color": null, "created_at": "2021-08-09T12:00:00Z", "display_name": "Component Name", "id": 12345, "internal_tag_ids": [], "internal_tags_list": [], "name": "component-name", "schema": { "field1": { "component_tag_whitelist": [ 1, 2, ], "restrict_type": "tags", "type": "bloks", }, }, "updated_at": "2021-08-09T12:00:00Z", }, "field1", + undefined, ] Number of calls: 1 ❯ src/commands/migrations/generate/index.test.ts:105:31
src/commands/migrations/generate/index.test.ts > migrations generate command > should generate a migration with a path: src/commands/migrations/generate/index.test.ts#L138
AssertionError: expected "spy" to be called with arguments: [ '12345', 'custom', { …(9) }, …(1) ] Received: 1st spy call: [ "12345", "custom", { "color": null, "created_at": "2021-08-09T12:00:00Z", "display_name": "Component Name", "id": 12345, "internal_tag_ids": [], "internal_tags_list": [], "name": "component-name", "schema": { "field1": { "component_tag_whitelist": [ 1, 2, ], "restrict_type": "tags", "type": "bloks", }, }, "updated_at": "2021-08-09T12:00:00Z", }, "field1", + undefined, ] Number of calls: 1 ❯ src/commands/migrations/generate/index.test.ts:138:31
Test (20)
Process completed with exit code 1.