Skip to content

Commit

Permalink
test: fix expect at win
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 committed Aug 30, 2022
1 parent 7888c38 commit 601e10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/operation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ describe('test/operation.test.js', () => {
.log('result');

expect(console.info).toHaveBeenCalledWith(expect.stringMatching(/\[CLET\] stdout: \d+\.\d+\.\d+, code: 0/));
expect(console.info).toHaveBeenCalledWith(expect.stringMatching(/\[CLET\] \{ stdout:.*\}/));
expect(console.info).toHaveBeenCalledWith(expect.stringMatching(/\[CLET\] \{ stdout:.*/));
});
});

0 comments on commit 601e10f

Please sign in to comment.