mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
Include BillingAccountProfileStateService dependency in storybook module (#8376)
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
import { Meta, moduleMetadata, Story } from "@storybook/angular";
|
import { Meta, moduleMetadata, Story } from "@storybook/angular";
|
||||||
|
import { of } from "rxjs";
|
||||||
|
|
||||||
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||||
|
import { BillingAccountProfileStateService } from "@bitwarden/common/billing/abstractions/account/billing-account-profile-state.service";
|
||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
import { MessagingService } from "@bitwarden/common/platform/abstractions/messaging.service";
|
import { MessagingService } from "@bitwarden/common/platform/abstractions/messaging.service";
|
||||||
import { BadgeModule, I18nMockService } from "@bitwarden/components";
|
import { BadgeModule, I18nMockService } from "@bitwarden/components";
|
||||||
@@ -34,6 +36,12 @@ export default {
|
|||||||
return new MockMessagingService();
|
return new MockMessagingService();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
provide: BillingAccountProfileStateService,
|
||||||
|
useValue: {
|
||||||
|
hasPremiumFromAnySource$: of(false),
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user