diff options
Diffstat (limited to 'packages/server/src')
-rw-r--r-- | packages/server/src/attestation/generateAttestationOptions.test.ts | 8 | ||||
-rw-r--r-- | packages/server/src/helpers/convertCOSEtoPKCS.test.ts | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/server/src/attestation/generateAttestationOptions.test.ts b/packages/server/src/attestation/generateAttestationOptions.test.ts index dc67cf5..3885dfc 100644 --- a/packages/server/src/attestation/generateAttestationOptions.test.ts +++ b/packages/server/src/attestation/generateAttestationOptions.test.ts @@ -1,7 +1,7 @@ import generateAttestationOptions from './generateAttestationOptions'; test('should generate credential request options suitable for sending via JSON', () => { - const serviceName = 'WebAuthntine'; + const serviceName = 'SimpleWebAuthn'; const rpID = 'not.real'; const challenge = 'totallyrandomvalue'; const userID = '1234'; @@ -46,7 +46,7 @@ test('should generate credential request options suitable for sending via JSON', test('should map excluded credential IDs if specified', () => { const options = generateAttestationOptions( - 'WebAuthntine', + 'SimpleWebAuthn', 'not.real', 'totallyrandomvalue', '1234', @@ -65,7 +65,7 @@ test('should map excluded credential IDs if specified', () => { test('defaults to 60 seconds if no timeout is specified', () => { const options = generateAttestationOptions( - 'WebAuthntine', + 'SimpleWebAuthn', 'not.real', 'totallyrandomvalue', '1234', @@ -77,7 +77,7 @@ test('defaults to 60 seconds if no timeout is specified', () => { test('defaults to direct attestation if no attestation type is specified', () => { const options = generateAttestationOptions( - 'WebAuthntine', + 'SimpleWebAuthn', 'not.real', 'totallyrandomvalue', '1234', diff --git a/packages/server/src/helpers/convertCOSEtoPKCS.test.ts b/packages/server/src/helpers/convertCOSEtoPKCS.test.ts index 5bc970c..d17d4bd 100644 --- a/packages/server/src/helpers/convertCOSEtoPKCS.test.ts +++ b/packages/server/src/helpers/convertCOSEtoPKCS.test.ts @@ -1,5 +1,5 @@ import cbor from 'cbor'; -import { COSEKEYS } from '@webauthntine/typescript-types'; +import { COSEKEYS } from '@simplewebauthn/typescript-types'; import convertCOSEtoPKCS from './convertCOSEtoPKCS'; |