Skip to content

Commit

Permalink
Remove redundant expect() wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Sep 25, 2021
1 parent 3eaa122 commit 815174b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ai-player/misc.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('AI player', function () {
});
const clock = sinon.useFakeTimers();
const callback = sinon.spy();
expect(aiPlayer.wait(callback));
aiPlayer.wait(callback);
expect(callback).not.to.have.been.calledOnce;
clock.tick(500);
expect(callback).to.have.been.calledOnce;
Expand Down

1 comment on commit 815174b

@vercel
Copy link

@vercel vercel bot commented on 815174b Dec 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.