Skip to content

Commit

Permalink
test: changing code instead of name attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Alejandro committed Jan 7, 2023
1 parent 2f7cd2e commit 7e5e9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-events-once.js
Expand Up @@ -153,7 +153,7 @@ async function onceWithEventTargetError() {
async function onceWithInvalidEventEmmiter() {
const ac = new AbortController();
return rejects(once(ac, 'myevent'), {
name: 'TypeError',
code: 'ERR_INVALID_ARG_TYPE',
});
}

Expand Down

0 comments on commit 7e5e9fc

Please sign in to comment.