1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-20 19:34:03 +00:00

Fix build

This commit is contained in:
Bernd Schoolmann
2025-09-01 14:20:10 +02:00
parent 84cddf8f34
commit 117a5499ec
10 changed files with 0 additions and 59 deletions

View File

@@ -6,7 +6,6 @@ import { EncString } from "@bitwarden/common/key-management/crypto/models/enc-st
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
import { Utils } from "@bitwarden/common/platform/misc/utils";
import { SymmetricCryptoKey } from "@bitwarden/common/platform/models/domain/symmetric-crypto-key";
import { ContainerService } from "@bitwarden/common/platform/services/container.service";
import {
FakeStateProvider,
makeEncString,
@@ -52,8 +51,6 @@ describe("DefaultCollectionService", () => {
Promise.resolve(encString.data.replace("ENC_", "DEC_")),
);
(window as any).bitwardenContainerService = new ContainerService(keyService, encryptService);
// Arrange i18nService so that sorting algorithm doesn't throw
i18nService.collator = null;
@@ -65,10 +62,6 @@ describe("DefaultCollectionService", () => {
);
});
afterEach(() => {
delete (window as any).bitwardenContainerService;
});
describe("decryptedCollections$", () => {
it("emits decrypted collections from state", async () => {
// Arrange test data