Skip to content

Commit 74a68bc

Browse files
committed
tests: fix for browser CI tests
1 parent a9a9050 commit 74a68bc

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

lib.commonjs/_tests/test-contract.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib.commonjs/_tests/test-contract.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib.esm/_tests/test-contract.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib.esm/_tests/test-contract.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src.ts/_tests/test-contract.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,10 @@ describe("Test Typed Contract Interaction", function() {
264264
abi.push(`function testTyped(string memory) public pure returns (string memory)`);
265265

266266
const contractPromise = (async function() {
267-
const provider = new JsonRpcProvider("http:/\/localhost:8545");
267+
const provider = new JsonRpcProvider("http:/\/127.0.0.1:8545");
268268
provider.on("error", (error: any) => {
269269
if (error && error.event === "initial-network-discovery") {
270-
console.dir(error.info, { depth: null });
270+
console.dir(error, { depth: null });
271271
provider.off("error");
272272
}
273273
});

0 commit comments

Comments
 (0)