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

Commit 7b87382

Browse files
committed
Fix this references
1 parent de41290 commit 7b87382

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ import assert from 'assert'
66
import jsdom from 'jsdom-global'
77

88
describe('typed selector queries', function() {
9+
let cleanup
10+
911
beforeEach(function() {
10-
this.cleanup = jsdom()
12+
cleanup = jsdom()
1113

1214
if (!document.body) return
1315
document.body.innerHTML = `
@@ -25,7 +27,7 @@ describe('typed selector queries', function() {
2527
})
2628

2729
afterEach(function() {
28-
this.cleanup()
30+
cleanup()
2931
})
3032

3133
describe('query', function() {

0 commit comments

Comments
 (0)