1
0
forked from baron/baron-sso

Biome check devfront (lint + format)

This commit is contained in:
2026-03-18 10:06:39 +09:00
parent d305398326
commit 551cd62808
4 changed files with 13 additions and 10 deletions

View File

@@ -1,9 +1,9 @@
import { expect, test } from "@playwright/test";
import {
type Consent,
installDevApiMock,
makeClient,
seedAuth,
type Consent,
} from "./helpers/devfront-fixtures";
test.describe("DevFront consents", () => {

View File

@@ -124,10 +124,13 @@ export async function seedAuth(page: Page, role?: string) {
headers: { "Access-Control-Allow-Origin": "*" },
});
} else {
await route.fulfill({ status: 200, body: "ok", headers: { "Access-Control-Allow-Origin": "*" } });
await route.fulfill({
status: 200,
body: "ok",
headers: { "Access-Control-Allow-Origin": "*" },
});
}
});
}
function json(route: Route, payload: unknown, status = 200) {