From c3ca6c8e71e4fbec7471610bd8e01704cf143b7c Mon Sep 17 00:00:00 2001 From: jaasen-livefront Date: Thu, 30 Oct 2025 10:36:29 -0700 Subject: [PATCH] fix test --- .../password-depot-17-xml-importer.spec.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/libs/importer/src/importers/password-depot/password-depot-17-xml-importer.spec.ts b/libs/importer/src/importers/password-depot/password-depot-17-xml-importer.spec.ts index 1f14d05c51e..c92c55bf64f 100644 --- a/libs/importer/src/importers/password-depot/password-depot-17-xml-importer.spec.ts +++ b/libs/importer/src/importers/password-depot/password-depot-17-xml-importer.spec.ts @@ -59,10 +59,15 @@ describe("Password Depot 17 Xml Importer", () => { const importer = new PasswordDepot17XmlImporter(); const folder = new FolderView(); folder.name = "tempDB"; - const actual = [folder]; const result = await importer.parse(PasswordTestData); - expect(result.folders).toEqual(actual); + expect(result.folders).toEqual([ + expect.objectContaining({ + id: "", + name: "tempDB", + revisionDate: expect.any(Date), + }), + ]); }); it("should parse password type into logins", async () => { @@ -490,7 +495,7 @@ describe("Password Depot 17 Xml Importer", () => { const collection = new CollectionView({ name: "tempDB", organizationId: importer.organizationId, - id: null, + id: "", }); const actual = [collection];