summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/index.test.ts
blob: 5e396cac6cc654b04e92d990bec11ffbe2b4132f (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 `startAttestation`', () => {
  expect(index.startAttestation).toBeDefined();
});

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

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

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