summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/helpers/__mocks__/browserSupportsWebAuthnAutofill.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-06-20 12:44:39 -0700
committerMatthew Miller <matthew@millerti.me>2022-06-20 12:44:39 -0700
commitaa5b2e8f97e8948dff05c6444bf2262dcb43cbcf (patch)
tree57ed6c31279b850ce9cf2cca556cee26a79e86c6 /packages/browser/src/helpers/__mocks__/browserSupportsWebAuthnAutofill.ts
parent803f96ca81fa113a23aa8243dfa438f2f778daa9 (diff)
Add tests for conditional UI support
Diffstat (limited to 'packages/browser/src/helpers/__mocks__/browserSupportsWebAuthnAutofill.ts')
-rw-r--r--packages/browser/src/helpers/__mocks__/browserSupportsWebAuthnAutofill.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/browser/src/helpers/__mocks__/browserSupportsWebAuthnAutofill.ts b/packages/browser/src/helpers/__mocks__/browserSupportsWebAuthnAutofill.ts
new file mode 100644
index 0000000..311b635
--- /dev/null
+++ b/packages/browser/src/helpers/__mocks__/browserSupportsWebAuthnAutofill.ts
@@ -0,0 +1,2 @@
+// We just need a simple mock so we can control whether this returns `true` or `false`
+export const browserSupportsWebAuthnAutofill = jest.fn();