Skip to content

Commit 70b7b64

Browse files
committed
fix: update test assertions to match new error message format
Made-with: Cursor
1 parent bf5a3ea commit 70b7b64

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/commands/image/generate.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ describe('image generate command', () => {
3333
nonInteractive: false,
3434
async: false,
3535
}),
36-
).rejects.toThrow('--prompt is required');
36+
).rejects.toThrow('Missing required argument: --prompt');
3737
});
3838
});

test/commands/video/generate.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ describe('video generate command', () => {
3333
nonInteractive: false,
3434
async: false,
3535
}),
36-
).rejects.toThrow('--prompt is required');
36+
).rejects.toThrow('Missing required argument: --prompt');
3737
});
3838
});

0 commit comments

Comments
 (0)