mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-14 10:26:19 +01:00
Update Storybook providers
This commit is contained in:
parent
829567bb64
commit
646506ab95
@ -27,6 +27,7 @@ import { ButtonModule, I18nMockService } from "@bitwarden/components";
|
|||||||
|
|
||||||
import { RegistrationCheckEmailIcon } from "../../../../../../libs/auth/src/angular/icons/registration-check-email.icon";
|
import { RegistrationCheckEmailIcon } from "../../../../../../libs/auth/src/angular/icons/registration-check-email.icon";
|
||||||
import { PopupRouterCacheService } from "../../../platform/popup/view-cache/popup-router-cache.service";
|
import { PopupRouterCacheService } from "../../../platform/popup/view-cache/popup-router-cache.service";
|
||||||
|
import { AccountSwitcherService } from "../account-switching/services/account-switcher.service";
|
||||||
|
|
||||||
import { ExtensionAnonLayoutWrapperDataService } from "./extension-anon-layout-wrapper-data.service";
|
import { ExtensionAnonLayoutWrapperDataService } from "./extension-anon-layout-wrapper-data.service";
|
||||||
import {
|
import {
|
||||||
@ -83,6 +84,13 @@ const decorators = (options: {
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
provide: AccountSwitcherService,
|
||||||
|
useValue: {
|
||||||
|
availableAccounts$: of([]),
|
||||||
|
SPECIAL_ADD_ACCOUNT_ID: "addAccount",
|
||||||
|
} as Partial<AccountSwitcherService>,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
provide: AuthService,
|
provide: AuthService,
|
||||||
useValue: {
|
useValue: {
|
||||||
|
Loading…
Reference in New Issue
Block a user