Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 74e9e66

Browse files
author
Jonathan Spruance (Insight Global)
committed
Update unit test for writing to console when no out dir specified
1 parent d9222e8 commit 74e9e66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/chatdown/test/commands/chatdown.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe('chatdown', () => {
4545

4646
it('should read from file when chat file is passed as an argument', done => {
4747
cp.exec(`node ./bin/run chatdown --in ./test/utils/cli.sample.chat`, (error, stdout) => {
48-
assert(stdout.includes('Successfully wrote'));
48+
assert.doesNotThrow(() => JSON.parse(stdout));
4949
done();
5050
});
5151
});

0 commit comments

Comments
 (0)