Skip to content

Commit a640393

Browse files
committed
Remove unused parameter
1 parent 09231b1 commit a640393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ asyncTest('adds is-error class on 500 status', 1, function() {
206206
div.innerHTML = '<include-fragment src="/boom">loading</include-fragment>';
207207
document.getElementById('qunit-fixture').appendChild(div);
208208

209-
div.firstChild.addEventListener('error', function(event) {
209+
div.firstChild.addEventListener('error', function() {
210210
ok(document.querySelector('include-fragment').classList.contains('is-error'));
211211
start();
212212
});
@@ -217,7 +217,7 @@ asyncTest('adds is-error class on mising Content-Type', 1, function() {
217217
div.innerHTML = '<include-fragment src="/blank-type">loading</include-fragment>';
218218
document.getElementById('qunit-fixture').appendChild(div);
219219

220-
div.firstChild.addEventListener('error', function(event) {
220+
div.firstChild.addEventListener('error', function() {
221221
ok(document.querySelector('include-fragment').classList.contains('is-error'));
222222
start();
223223
});

0 commit comments

Comments
 (0)