mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 18:23:31 +00:00
Fixed browser test.
This commit is contained in:
@@ -18,6 +18,7 @@ import { AutofillSettingsServiceAbstraction } from "@bitwarden/common/autofill/s
|
||||
import { BillingAccountProfileStateService } from "@bitwarden/common/billing/abstractions/account/billing-account-profile-state.service";
|
||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
|
||||
import { mockAccountInfoWith } from "@bitwarden/common/spec";
|
||||
import { UserId } from "@bitwarden/common/types/guid";
|
||||
import { CipherType } from "@bitwarden/common/vault/enums";
|
||||
import { Cipher } from "@bitwarden/common/vault/models/domain/cipher";
|
||||
@@ -123,9 +124,10 @@ describe("context-menu", () => {
|
||||
autofillSettingsService.enableContextMenu$ = of(true);
|
||||
accountService.activeAccount$ = of({
|
||||
id: "userId" as UserId,
|
||||
email: "",
|
||||
emailVerified: false,
|
||||
name: undefined,
|
||||
...mockAccountInfoWith({
|
||||
email: "",
|
||||
name: undefined,
|
||||
}),
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user