Skip to content
This repository was archived by the owner on Oct 21, 2021. It is now read-only.

Commit f52c1ca

Browse files
committed
Fix unused variables in tests
1 parent 7b87382 commit f52c1ca

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
@@ -87,12 +87,12 @@ describe('typed selector queries', function() {
8787

8888
it('throws for failed selector match', function() {
8989
const child = query(document, '.child')
90-
assert.throws(() => closest(document, '.missing'))
90+
assert.throws(() => closest(child, '.missing'))
9191
})
9292

9393
it('throws for selector match but type mismatch', function() {
9494
const child = query(document, '.child')
95-
assert.throws(() => closest(document, '.parent', HTMLInputElement))
95+
assert.throws(() => closest(child, '.parent', HTMLInputElement))
9696
})
9797
})
9898

0 commit comments

Comments
 (0)