fix event emitter test
This commit is contained in:
parent
103255f4d2
commit
abd9a0b5e1
1 changed files with 4 additions and 3 deletions
|
|
@ -80,7 +80,8 @@ module.exports = {
|
|||
}
|
||||
};
|
||||
|
||||
if (typeof module !== "undefined" && module === require.main) {
|
||||
require("asyncjs/test").testcase(module.exports).exec()
|
||||
}
|
||||
});
|
||||
|
||||
if (typeof module !== "undefined" && module === require.main) {
|
||||
require("asyncjs").test.testcase(module.exports).exec()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue