Skip to content

Commit

Permalink
fixup! Implement AsyncEventEmitter
Browse files Browse the repository at this point in the history
  • Loading branch information
tshemsedinov committed Jun 9, 2019
1 parent 6450613 commit f3d551c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/async-emitter.js
Expand Up @@ -19,6 +19,8 @@ metatests.test('AsyncEmitter on/emit', async test => {

test.strictSame(ae.count('e1'), 1);
test.strictSame(ae.names().length, 1);

test.end();
});

metatests.test('AsyncEmitter once', async test => {
Expand All @@ -35,6 +37,8 @@ metatests.test('AsyncEmitter once', async test => {

test.strictSame(ae.count('e1'), 0);
test.strictSame(ae.names().length, 0);

test.end();
});

metatests.test('AsyncEmitter await once', async test => {
Expand Down

0 comments on commit f3d551c

Please sign in to comment.