We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6adca6c commit cfa2d6fCopy full SHA for cfa2d6f
1 file changed
tests/events-once.js
@@ -158,7 +158,8 @@ function onceWithEventTargetTwoArgs() {
158
et.dispatchEvent('myevent', 42, 24);
159
});
160
return once(et, 'myevent').then(function (value) {
161
- assert.deepStrictEqual(value, [42, 24]);
+ assert.strictEqual(value[0], 42);
162
+ assert.strictEqual(value[1], 24);
163
164
}
165
@@ -170,7 +171,7 @@ function onceWithEventTargetError() {
170
171
172
return once(et, 'error').then(function (args) {
173
var error = args[0];
- assert.deepStrictEqual(error, expected);
174
+ assert.strictEqual(error, expected);
175
assert.strictEqual(has(et.events, 'error'), false);
176
177
0 commit comments