fix(core): update

This commit is contained in:
Philipp Kunz 2018-12-10 23:54:13 +01:00
parent edc1097020
commit b4663a0d3a
2 changed files with 2 additions and 2 deletions

View File

@ -31,4 +31,4 @@
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0"
}
}
}

View File

@ -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;