Linting, .git-blame-ignore-revs file
This commit is contained in:
parent
459dd3a6df
commit
1fd190fbb7
2 changed files with 51 additions and 46 deletions
0
.git-blame-ignore-revs
Normal file
0
.git-blame-ignore-revs
Normal file
|
|
@ -453,7 +453,9 @@ describe("AuthDebugger", () => {
|
|||
});
|
||||
|
||||
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();
|
||||
|
||||
// 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
|
||||
const storedStateCall = (
|
||||
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();
|
||||
const storedState = JSON.parse(storedStateCall![1] as string);
|
||||
|
|
@ -506,7 +510,8 @@ describe("AuthDebugger", () => {
|
|||
client_id: "test_client_id",
|
||||
}),
|
||||
});
|
||||
});
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
describe("OAuth Protected Resource Metadata", () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue