summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/index.test.ts
blob: 672f7f7207498727a44bf5f039928fcd9bfa8052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { assert } from 'https://deno.land/std@0.198.0/assert/mod.ts';

import * as index from './index.ts';

Deno.test('should export method `generateRegistrationOptions`', () => {
  assert(index.generateRegistrationOptions);
});

Deno.test('should export method `verifyRegistrationResponse`', () => {
  assert(index.verifyRegistrationResponse);
});

Deno.test('should export method `generateAuthenticationOptions`', () => {
  assert(index.generateAuthenticationOptions);
});

Deno.test('should export method `verifyAuthenticationResponse`', () => {
  assert(index.verifyAuthenticationResponse);
});

Deno.test('should export service `MetadataService`', () => {
  assert(index.MetadataService);
});

Deno.test('should export service `SettingsService`', () => {
  assert(index.SettingsService);
});