summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/index.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/server/src/index.test.ts')
-rw-r--r--packages/server/src/index.test.ts28
1 files changed, 19 insertions, 9 deletions
diff --git a/packages/server/src/index.test.ts b/packages/server/src/index.test.ts
index b782ee7..672f7f7 100644
--- a/packages/server/src/index.test.ts
+++ b/packages/server/src/index.test.ts
@@ -1,17 +1,27 @@
-import * as index from './index';
+import { assert } from 'https://deno.land/std@0.198.0/assert/mod.ts';
-test('should export method `generateRegistrationOptions`', () => {
- expect(index.generateRegistrationOptions).toBeDefined();
+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);
});
-test('should export method `verifyRegistrationResponse`', () => {
- expect(index.verifyRegistrationResponse).toBeDefined();
+Deno.test('should export method `verifyAuthenticationResponse`', () => {
+ assert(index.verifyAuthenticationResponse);
});
-test('should export method `generateAuthenticationOptions`', () => {
- expect(index.generateAuthenticationOptions).toBeDefined();
+Deno.test('should export service `MetadataService`', () => {
+ assert(index.MetadataService);
});
-test('should export method `verifyAuthenticationResponse`', () => {
- expect(index.verifyAuthenticationResponse).toBeDefined();
+Deno.test('should export service `SettingsService`', () => {
+ assert(index.SettingsService);
});