Skip to content

Commit 2440a0c

Browse files
committed
Remove unnecessary XHR Mock teardown
1 parent 473bb5a commit 2440a0c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/helpers/docsify-init.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -307,11 +307,6 @@ async function docsifyInit(options = {}) {
307307
}
308308
}
309309

310-
if (isJSDOM) {
311-
// Restore the global XMLHttpRequest object
312-
mock.teardown();
313-
}
314-
315310
return Promise.resolve();
316311
}
317312

0 commit comments

Comments
 (0)