Linting, .git-blame-ignore-revs file

This commit is contained in:
Jerome 2025-06-13 17:38:01 +01:00
commit 1fd190fbb7
No known key found for this signature in database
2 changed files with 51 additions and 46 deletions

0
.git-blame-ignore-revs Normal file
View file

View file

@ -453,7 +453,9 @@ describe("AuthDebugger", () => {
}); });
describe("OAuth State Persistence", () => { describe("OAuth State Persistence", () => {
skipIfCI("should store auth state to sessionStorage before redirect in Quick OAuth Flow", async () => { skipIfCI(
"should store auth state to sessionStorage before redirect in Quick OAuth Flow",
async () => {
const updateAuthState = jest.fn(); const updateAuthState = jest.fn();
// This test depends on window.location being mocked at the top of the file // This test depends on window.location being mocked at the top of the file
@ -489,7 +491,9 @@ describe("AuthDebugger", () => {
// Verify the stored state includes all the accumulated data // Verify the stored state includes all the accumulated data
const storedStateCall = ( const storedStateCall = (
sessionStorage.setItem as jest.Mock sessionStorage.setItem as jest.Mock
).mock.calls.find((call) => call[0] === SESSION_KEYS.AUTH_DEBUGGER_STATE); ).mock.calls.find(
(call) => call[0] === SESSION_KEYS.AUTH_DEBUGGER_STATE,
);
expect(storedStateCall).toBeDefined(); expect(storedStateCall).toBeDefined();
const storedState = JSON.parse(storedStateCall![1] as string); const storedState = JSON.parse(storedStateCall![1] as string);
@ -506,7 +510,8 @@ describe("AuthDebugger", () => {
client_id: "test_client_id", client_id: "test_client_id",
}), }),
}); });
}); },
);
}); });
describe("OAuth Protected Resource Metadata", () => { describe("OAuth Protected Resource Metadata", () => {