We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0863860 commit 88e5e12Copy full SHA for 88e5e12
2 files changed
features/support/hooks.ts
@@ -19,7 +19,6 @@ type HookWorld = IWorld & {
19
};
20
21
Before<HookWorld>(async function () {
22
- console.log(this);
23
await clean(this);
24
});
25
test/setup.js
@@ -9,9 +9,6 @@ if (typeof global.XMLHttpRequest === "undefined") {
9
}
10
11
// Define a writable global binding for WebSocket when Node does not provide one
12
-if (typeof WebSocket === "undefined") {
13
- /* eslint-disable no-var */
14
- // eslint-disable-next-line vars-on-top
15
- var WebSocket = undefined; // creates the global binding
16
- /* eslint-enable no-var */
+if (typeof global.WebSocket === "undefined") {
+ global.WebSocket = undefined;
17
0 commit comments