summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/browser/src')
-rw-r--r--packages/browser/src/setupTests.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/browser/src/setupTests.ts b/packages/browser/src/setupTests.ts
index 75833a8..019ba42 100644
--- a/packages/browser/src/setupTests.ts
+++ b/packages/browser/src/setupTests.ts
@@ -3,9 +3,6 @@
// jest.spyOn(console, 'debug').mockImplementation();
// jest.spyOn(console, 'error').mockImplementation();
-// @ts-expect-error
-if (global.window) {
-
/**
* JSDom doesn't seem to support `credentials`, so let's define them here so we can mock their
* implementations in specific tests.
@@ -17,4 +14,3 @@ window.navigator.credentials = {
// assertion
get: jest.fn(),
};
-} \ No newline at end of file