1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01: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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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),
},
},
],
}),
],