Skip to content

Commit

Permalink
Changed spy.reset() -> spy.resetHistory()
Browse files Browse the repository at this point in the history
  • Loading branch information
axelssonHakan committed May 3, 2018
1 parent 7555d59 commit 4f7e179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/session.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ describe('Session', () => {
expect(emit.calledThrice).to.equal(true);
emit.getCalls().forEach(call => expect(call.args[0]).to.equal('changed'));

emit.reset();
emit.resetHistory();

rpc.emit('message', { close: [1, 2, 3] });
expect(emit.calledThrice).to.equal(true);
Expand Down

0 comments on commit 4f7e179

Please sign in to comment.