Skip to content

Commit d7688e4

Browse files
committed
print the whole error
1 parent 6e41eb7 commit d7688e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cli-repl/src/cli-repl.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2651,9 +2651,9 @@ describe('CliRepl', function () {
26512651
await tabCompletion();
26522652
await tabCompletion();
26532653
if (wantQueryOperators) {
2654-
expect(output).to.include('db.movies.find({year: {$gte');
2654+
expect(output, output).to.include('db.movies.find({year: {$gte');
26552655
} else {
2656-
expect(output).to.not.include('db.movies.find({year: {$gte');
2656+
expect(output, output).to.not.include('db.movies.find({year: {$gte');
26572657
}
26582658
});
26592659

0 commit comments

Comments
 (0)