mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix: add headers property to request object in UserAuthorization tests
This commit is contained in:
@@ -93,6 +93,7 @@ describe("UserMiddleware", () => {
|
||||
|
||||
const req: Partial<ExpressRequest> = {
|
||||
cookies: { "sso-token": mockedAccessToken },
|
||||
headers: {},
|
||||
};
|
||||
|
||||
test("should return an empty object when ssoToken is not passed", () => {
|
||||
|
||||
Reference in New Issue
Block a user