1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-27 10:03:23 +00:00

UPdate tests

This commit is contained in:
Nik Gilmore
2026-01-28 14:39:03 -08:00
parent e23af8b65e
commit 11509c9bc0

View File

@@ -1278,9 +1278,7 @@ describe("Cipher Service", () => {
});
it("should use SDK to list organization ciphers when feature flag is enabled", async () => {
configService.getFeatureFlag
.calledWith(FeatureFlag.PM27632_SdkCipherCrudOperations)
.mockResolvedValue(true);
sdkCrudFeatureFlag$.next(true);
const mockCipherView1 = new CipherView();
mockCipherView1.name = "Test Cipher 1";
@@ -1303,9 +1301,7 @@ describe("Cipher Service", () => {
});
it("should use SDK with includeMemberItems=false when not provided", async () => {
configService.getFeatureFlag
.calledWith(FeatureFlag.PM27632_SdkCipherCrudOperations)
.mockResolvedValue(true);
sdkCrudFeatureFlag$.next(true);
const sdkServiceSpy = jest
.spyOn(cipherSdkService, "getAllFromApiForOrganization")