diff --git a/playwright/errors.spec.ts b/playwright/errors.spec.ts index 23f6e29f3..e7eff6592 100644 --- a/playwright/errors.spec.ts +++ b/playwright/errors.spec.ts @@ -7,7 +7,7 @@ Please see LICENSE in the repository root for full details. import { expect, test } from "@playwright/test"; -import { createJTWToken } from "./fixtures/jwt-token"; +import { createJWTToken } from "./fixtures/jwt-token"; test("Should show error screen if fails to get JWT token", async ({ page }) => { await page.goto("/"); @@ -95,7 +95,7 @@ test("Should show error screen if call creation is restricted", async ({ contentType: "application/json", body: JSON.stringify({ url: "wss://badurltotricktest/livekit/sfu", - jwt: createJTWToken("@fake:user", "!fake:room"), + jwt: createJWTToken("@fake:user", "!fake:room"), }), }), ); diff --git a/playwright/fixtures/jwt-token.ts b/playwright/fixtures/jwt-token.ts index 18119c7e0..dff715f85 100644 --- a/playwright/fixtures/jwt-token.ts +++ b/playwright/fixtures/jwt-token.ts @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial Please see LICENSE in the repository root for full details. */ -export function createJTWToken(sub: string, room: string): string { +export function createJWTToken(sub: string, room: string): string { return [ {}, // header {