From d6cede74263e06db3675243cb10a431a5c3b5546 Mon Sep 17 00:00:00 2001 From: Brawn Date: Fri, 31 Jan 2025 21:06:08 +0300 Subject: [PATCH] fix: fix incorrect handling of contract_address as an array --- tests/js_tests/basic.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/js_tests/basic.test.ts b/tests/js_tests/basic.test.ts index 4149c32b2..645b61c38 100644 --- a/tests/js_tests/basic.test.ts +++ b/tests/js_tests/basic.test.ts @@ -115,7 +115,7 @@ async function deployContract({ provider, account }: TestContext) { await provider.waitForTransaction(deployResult.transaction_hash); // Add assertion to check if the contract address is valid - expect(deployResult.contract_address[0]).toBeTruthy(); + expect(deployResult.contract_address).toBeTruthy(); // Retrieve the class hash for the deployed contract let response = await provider.getClassHashAt(