summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/index.test.ts
blob: ee659d264036a03150857cd26bd4282817f6819b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import * as index from "./index";

test("should export method `startRegistration`", () => {
  expect(index.startRegistration).toBeDefined();
});

test("should export method `startAuthentication`", () => {
  expect(index.startAuthentication).toBeDefined();
});

test("should export method `browserSupportsWebAuthn`", () => {
  expect(index.browserSupportsWebAuthn).toBeDefined();
});

test("should export method `platformAuthenticatorIsAvailable`", () => {
  expect(index.browserSupportsWebAuthn).toBeDefined();
});