summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/index.test.ts
blob: e82191c80aab3a5b2d0310fceda11a62cfcdedee (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();
});