fix: address type issues in test suites

This commit is contained in:
ramvignesh-b
2026-04-12 16:11:14 +05:30
parent 293da0a18a
commit 090434d507
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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");