1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Include BillingAccountProfileStateService dependency in storybook module (#8376)

This commit is contained in:
Shane Melton
2024-03-18 10:17:07 -07:00
committed by GitHub
parent c7abdb9879
commit 2b92c7dd10

View File

@@ -1,6 +1,8 @@
import { Meta, moduleMetadata, Story } from "@storybook/angular";
import { of } from "rxjs";
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 { MessagingService } from "@bitwarden/common/platform/abstractions/messaging.service";
import { BadgeModule, I18nMockService } from "@bitwarden/components";
@@ -34,6 +36,12 @@ export default {
return new MockMessagingService();
},
},
{
provide: BillingAccountProfileStateService,
useValue: {
hasPremiumFromAnySource$: of(false),
},
},
],
}),
],