diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-25 11:11:48 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-25 11:11:48 -0700 |
commit | ce486db665fd805fff59772dfc852ac2d4cb3a43 (patch) | |
tree | a727ea2d928d50cc576bd150d08cc4de679e22f5 /packages/browser/src/helpers/supportsWebauthn.test.ts | |
parent | 279723fc1cb10e653431a9d7dbe3592f760b3c8b (diff) |
Run Prettier over everything
Diffstat (limited to 'packages/browser/src/helpers/supportsWebauthn.test.ts')
-rw-r--r-- | packages/browser/src/helpers/supportsWebauthn.test.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/browser/src/helpers/supportsWebauthn.test.ts b/packages/browser/src/helpers/supportsWebauthn.test.ts index f6b8a8e..6eb42c9 100644 --- a/packages/browser/src/helpers/supportsWebauthn.test.ts +++ b/packages/browser/src/helpers/supportsWebauthn.test.ts @@ -1,4 +1,4 @@ -import supportsWebauthn from './supportsWebauthn' +import supportsWebauthn from './supportsWebauthn'; beforeEach(() => { // @ts-ignore 2741 @@ -17,12 +17,12 @@ test('should return false when browser does not support WebAuthn', () => { test('should return false when window is undefined', () => { // Make window undefined as it is in node environments. // @ts-expect-error - const windowSpy = jest.spyOn(global, "window", "get"); + const windowSpy = jest.spyOn(global, 'window', 'get'); windowSpy.mockImplementation(() => undefined); - expect(window).toBe(undefined) + expect(window).toBe(undefined); expect(supportsWebauthn()).toBe(false); // Restore original window value. - windowSpy.mockRestore() -}) + windowSpy.mockRestore(); +}); |