From fc7159d48e76ceeb246b6a305c9ea4a1f12f1e2b Mon Sep 17 00:00:00 2001 From: Vivian Plasencia Date: Wed, 27 Mar 2024 17:45:22 +0100 Subject: [PATCH] test: update test to support the new type of blockchainCredentialSupportedNetworks re #451 --- apps/api/src/app/credentials/credentials.service.test.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/api/src/app/credentials/credentials.service.test.ts b/apps/api/src/app/credentials/credentials.service.test.ts index 5061fbe..d48804d 100644 --- a/apps/api/src/app/credentials/credentials.service.test.ts +++ b/apps/api/src/app/credentials/credentials.service.test.ts @@ -19,7 +19,12 @@ jest.mock("@bandada/utils", () => ({ }), getGroups: () => [] }), - blockchainCredentialSupportedNetworks: ["Sepolia"] + blockchainCredentialSupportedNetworks: [ + { + id: "sepolia", + name: "Sepolia" + } + ] })) jest.mock("@bandada/credentials", () => ({