mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 11:24:37 +00:00
test(browser): reset proxy policy in WebAuthn profile fixture (#40468)
This commit is contained in:
@@ -47,6 +47,7 @@ vi.mock('../identity/browser-process-user-agent', () => ({
|
||||
}))
|
||||
|
||||
import { browserSessionRegistry } from '../sessions/profiles/browser-session-registry'
|
||||
import { setBrowserNetworkProxySettingsResolver } from '../sessions/proxy/browser-session-proxy'
|
||||
import {
|
||||
cancelAllBrowserWebAuthnAccountRequests,
|
||||
respondToBrowserWebAuthnAccountRequest
|
||||
@@ -88,6 +89,7 @@ describe('browser WebAuthn profile deletion', () => {
|
||||
const sessionsByPartition = new Map<string, MockSession>()
|
||||
|
||||
beforeEach(() => {
|
||||
setBrowserNetworkProxySettingsResolver(null)
|
||||
sessionsByPartition.clear()
|
||||
sessionFromPartitionMock.mockReset()
|
||||
sessionFromPartitionMock.mockImplementation((partition: string) => {
|
||||
|
||||
Reference in New Issue
Block a user