Skip to content

Commit

Permalink
tests: fix for browser CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jan 4, 2025
1 parent a9a9050 commit 74a68bc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib.commonjs/_tests/test-contract.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib.commonjs/_tests/test-contract.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib.esm/_tests/test-contract.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib.esm/_tests/test-contract.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src.ts/_tests/test-contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ describe("Test Typed Contract Interaction", function() {
abi.push(`function testTyped(string memory) public pure returns (string memory)`);

const contractPromise = (async function() {
const provider = new JsonRpcProvider("http:/\/localhost:8545");
const provider = new JsonRpcProvider("http:/\/127.0.0.1:8545");
provider.on("error", (error: any) => {
if (error && error.event === "initial-network-discovery") {
console.dir(error.info, { depth: null });
console.dir(error, { depth: null });
provider.off("error");
}
});
Expand Down

0 comments on commit 74a68bc

Please sign in to comment.