forked from baron/baron-sso
test: raise frontend coverage baselines
This commit is contained in:
@@ -16,7 +16,7 @@ async function mockInventoryApis(page: Page): Promise<void> {
|
||||
const method = route.request().method().toUpperCase();
|
||||
|
||||
if (path.endsWith("/api/v1/user/me")) {
|
||||
const authHeader = route.request().headers()["authorization"] ?? "";
|
||||
const authHeader = route.request().headers().authorization ?? "";
|
||||
if (authHeader.startsWith("Bearer ")) {
|
||||
await route.fulfill({
|
||||
status: 200,
|
||||
|
||||
Reference in New Issue
Block a user