mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
fix: address type issues in test suites
This commit is contained in:
@@ -49,7 +49,7 @@ describe("request interceptor", () => {
|
||||
});
|
||||
|
||||
it("should not send Authorization header when the store has no token", async () => {
|
||||
let capturedAuthHeader: string | null;
|
||||
let capturedAuthHeader: string | null = "";
|
||||
server.use(
|
||||
http.get(`${API_URL}/api/auth/me/`, ({ request }) => {
|
||||
capturedAuthHeader = request.headers.get("Authorization");
|
||||
|
||||
Reference in New Issue
Block a user