From a59634a1a9b0393622fb121fbe229132c01a2624 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 18 Aug 2023 13:59:11 -0700 Subject: Use single-quotes and increase line width --- packages/server/src/helpers/decodeClientDataJSON.test.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'packages/server/src/helpers/decodeClientDataJSON.test.ts') diff --git a/packages/server/src/helpers/decodeClientDataJSON.test.ts b/packages/server/src/helpers/decodeClientDataJSON.test.ts index b969693..9f22bcb 100644 --- a/packages/server/src/helpers/decodeClientDataJSON.test.ts +++ b/packages/server/src/helpers/decodeClientDataJSON.test.ts @@ -1,17 +1,17 @@ -import { assertEquals } from "https://deno.land/std@0.198.0/assert/mod.ts"; +import { assertEquals } from 'https://deno.land/std@0.198.0/assert/mod.ts'; -import { decodeClientDataJSON } from "./decodeClientDataJSON.ts"; +import { decodeClientDataJSON } from './decodeClientDataJSON.ts'; -Deno.test("should convert base64url-encoded attestation clientDataJSON to JSON", () => { +Deno.test('should convert base64url-encoded attestation clientDataJSON to JSON', () => { assertEquals( decodeClientDataJSON( - "eyJ0eXBlIjoid2ViYXV0aG4uY3JlYXRlIiwiY2hhbGxlbmdlIjoiWko0YW12QnpOUGVMb3lLVE04bDlqamFmMDhXc0V0TG5OSENGZnhacGEybjlfU21NUnR5VjZlYlNPSUFfUGNsOHBaUjl5Y1ZhaW5SdV9rUDhRaTZiemciLCJvcmlnaW4iOiJodHRwczovL3dlYmF1dGhuLmlvIn0", + 'eyJ0eXBlIjoid2ViYXV0aG4uY3JlYXRlIiwiY2hhbGxlbmdlIjoiWko0YW12QnpOUGVMb3lLVE04bDlqamFmMDhXc0V0TG5OSENGZnhacGEybjlfU21NUnR5VjZlYlNPSUFfUGNsOHBaUjl5Y1ZhaW5SdV9rUDhRaTZiemciLCJvcmlnaW4iOiJodHRwczovL3dlYmF1dGhuLmlvIn0', ), { - type: "webauthn.create", + type: 'webauthn.create', challenge: - "ZJ4amvBzNPeLoyKTM8l9jjaf08WsEtLnNHCFfxZpa2n9_SmMRtyV6ebSOIA_Pcl8pZR9ycVainRu_kP8Qi6bzg", - origin: "https://webauthn.io", + 'ZJ4amvBzNPeLoyKTM8l9jjaf08WsEtLnNHCFfxZpa2n9_SmMRtyV6ebSOIA_Pcl8pZR9ycVainRu_kP8Qi6bzg', + origin: 'https://webauthn.io', }, ); }); -- cgit v1.2.3