diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-25 10:38:19 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-25 10:38:19 -0700 |
commit | 344be31b2e4f9f1521b1a069ddc3e41c08ea8057 (patch) | |
tree | e37bf387b0a5e0174bbacd30c7718ffc234e1ca4 /packages/browser/src | |
parent | 1ba05e2b1c432f7158fe07e20d97cc99ad3e7954 (diff) |
Remove global.window check in setupTests
Diffstat (limited to 'packages/browser/src')
-rw-r--r-- | packages/browser/src/setupTests.ts | 4 |
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 |