mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
fix broken blockedInteractionsUris state contruction (#12813)
This commit is contained in:
@@ -63,7 +63,7 @@ describe("ScriptInjectorService", () => {
|
||||
configService.getFeatureFlag$.mockImplementation(() => of(false));
|
||||
domainSettingsService = new DefaultDomainSettingsService(fakeStateProvider, configService);
|
||||
domainSettingsService.equivalentDomains$ = of(mockEquivalentDomains);
|
||||
domainSettingsService.blockedInteractionsUris$ = of(null);
|
||||
domainSettingsService.blockedInteractionsUris$ = of({});
|
||||
scriptInjectorService = new BrowserScriptInjectorService(
|
||||
domainSettingsService,
|
||||
platformUtilsService,
|
||||
|
||||
@@ -39,7 +39,7 @@ describe("FilelessImporterBackground ", () => {
|
||||
let tabMock: chrome.tabs.Tab;
|
||||
|
||||
beforeEach(() => {
|
||||
domainSettingsService.blockedInteractionsUris$ = of(null);
|
||||
domainSettingsService.blockedInteractionsUris$ = of({});
|
||||
policyService.policyAppliesToActiveUser$.mockImplementation(() => of(true));
|
||||
scriptInjectorService = new BrowserScriptInjectorService(
|
||||
domainSettingsService,
|
||||
|
||||
Reference in New Issue
Block a user