Skip to content

Commit

Permalink
fix: tryTo plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Mar 7, 2024
1 parent 5b1f101 commit 9bea75d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/plugin/tryTo_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('tryTo plugin', () => {

it('should execute command on success', async () => {
const ok = await tryTo(() => recorder.add('test', () => 5));
expect(ok).to.true;
expect(ok).to.false;
return recorder.promise();
});

Expand Down

0 comments on commit 9bea75d

Please sign in to comment.