diff --git a/playwright/errors.spec.ts b/playwright/errors.spec.ts index c954ccb9..085fb0b4 100644 --- a/playwright/errors.spec.ts +++ b/playwright/errors.spec.ts @@ -6,6 +6,7 @@ Please see LICENSE in the repository root for full details. */ import { expect, test } from "@playwright/test"; + import { createJTWToken } from "./fixtures/jwt-token"; test("Should show error screen if fails to get JWT token", async ({ page }) => { diff --git a/playwright/fixtures/jwt-token.ts b/playwright/fixtures/jwt-token.ts index 8b93abc3..18119c7e 100644 --- a/playwright/fixtures/jwt-token.ts +++ b/playwright/fixtures/jwt-token.ts @@ -1,4 +1,11 @@ -export function createJTWToken(sub: string, room: string) { +/* +Copyright 2025 New Vector Ltd. + +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 { return [ {}, // header {