Skip to content

Commit 5c5f40a

Browse files
committed
fix lint errors
1 parent 21cb08f commit 5c5f40a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/parallel/test-whatwg-events-add-event-listener-options-signal.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,7 @@ const {
160160
}
161161
{
162162
const et = new EventTarget();
163-
throws(() => et.addEventListener('foo', () => {}, {signal: null}));
163+
throws(() => et.addEventListener('foo', () => {}, { signal: null }), {
164+
message: 'The "options.signal" property must be an instance of AbortSignal. Received null',
165+
});
164166
}

0 commit comments

Comments
 (0)