mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 13:10:17 +00:00
fix failing test
This commit is contained in:
@@ -9,7 +9,13 @@ import { DeviceType } from "@bitwarden/common/enums";
|
||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||
import { ValidationService } from "@bitwarden/common/platform/abstractions/validation.service";
|
||||
import { MessageListener } from "@bitwarden/common/platform/messaging";
|
||||
import { DialogService, ToastService, TableModule, PopoverModule } from "@bitwarden/components";
|
||||
import {
|
||||
DialogService,
|
||||
ToastService,
|
||||
TableModule,
|
||||
PopoverModule,
|
||||
LayoutComponent,
|
||||
} from "@bitwarden/components";
|
||||
|
||||
import { SharedModule } from "../../../shared";
|
||||
import { VaultBannersService } from "../../../vault/individual-vault/vault-banners/services/vault-banners.service";
|
||||
@@ -115,6 +121,12 @@ describe("DeviceManagementComponent", () => {
|
||||
showError: jest.fn(),
|
||||
},
|
||||
},
|
||||
{
|
||||
provide: LayoutComponent,
|
||||
useValue: {
|
||||
mainContent: jest.fn(),
|
||||
},
|
||||
},
|
||||
],
|
||||
}).compileComponents();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user