Skip to content

Commit

Permalink
Refactor test without nodeunit
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Shilov committed Feb 23, 2021
1 parent 1b162c6 commit 658fe05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/wildcardEvents/prependListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ module.exports= {

ee.on(type, function2);
ee.prependListener(type, function1);
assert.equal(ee.listeners(type)[0], function1);
assert.deepStrictEqual(ee.listeners(type), [function1, function2])
}
};

0 comments on commit 658fe05

Please sign in to comment.