Skip to content

Commit

Permalink
fix: assert statement for mercury server unavailability
Browse files Browse the repository at this point in the history
  • Loading branch information
DhananjayPurohit committed Jun 24, 2024
1 parent 1116e8f commit ea2fe40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/apps/nodejs/test_basic_workflow2.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ async function interruptBeforeSignFirst(clientConfig, wallet_1_name, wallet_2_na
assert.fail("Expected error when transferring from wallet one, but no error was thrown");
} catch (error) {
console.log("Expected error received: ", error.message);
assert(error.message.includes("Server public nonce is not available."),
assert(error.message.includes("connect ECONNREFUSED 0.0.0.0:8000"),
`Unexpected error message: ${error.message}`);
}
console.log("Connect mercurylayer_mercury_1 from network");
Expand Down

0 comments on commit ea2fe40

Please sign in to comment.