Files
notifications-admin/tests/javascripts/registerSecurityKey.test.js
Ben Thorner aae01bf8e2 Switch to jest.spyOn for navigator.credentials
This follows the same approach as for window.fetch, using the Jest
before/afterAll() blocks to handle the idiosynchrosies of whether
the object/function is defined in the test environment.
2021-05-13 10:22:26 +01:00

4.8 KiB