aboutsummaryrefslogtreecommitdiff
path: root/test/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/index.js')
-rw-r--r--test/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/index.js b/test/index.js
index 020c91f..dceb4b7 100644
--- a/test/index.js
+++ b/test/index.js
@@ -159,7 +159,7 @@ describe('mitt#', () => {
inst.emit('foo', ea);
expect(star).to.have.been.calledOnce.and.calledWith('foo', ea);
- star.reset();
+ star.resetHistory();
inst.emit('bar', eb);
expect(star).to.have.been.calledOnce.and.calledWith('bar', eb);