From b4663a0d3a0fc2b9f390e35ecae72436e1e1e5b0 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 10 Dec 2018 23:54:13 +0100 Subject: [PATCH] fix(core): update --- package.json | 2 +- test/test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 05adf45..a515847 100644 --- a/package.json +++ b/package.json @@ -31,4 +31,4 @@ "tslint": "^5.11.0", "tslint-config-prettier": "^1.17.0" } -} +} \ No newline at end of file diff --git a/test/test.ts b/test/test.ts index e5d2042..30c2b4c 100644 --- a/test/test.ts +++ b/test/test.ts @@ -9,7 +9,7 @@ tap.test('should create an emitter ->', async () => { expect(myEventEmitter).to.be.instanceof(smartevent.EventEmitter); }); -tap.test('smartevent.once -> should return a promise', async (tools) => { +tap.test('smartevent.once -> should return a promise', async tools => { const oncePromise = smartevent.once(myEventEmitter, 'customEvent'); expect(oncePromise).to.be.instanceof(Promise); expect(oncePromise).to.not.be.rejected;