forked from baron/baron-sso
test: raise frontend coverage baselines
This commit is contained in:
@@ -314,7 +314,7 @@ async function mockAuthApis(
|
||||
}
|
||||
|
||||
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: 401,
|
||||
|
||||
Reference in New Issue
Block a user