Skip to content

Commit

Permalink
fix ts test for me (#2654)
Browse files Browse the repository at this point in the history
* fix ts test for me

* Upgrade yarn 3.5.1

* fix

* fix

* add .yarn

---------

Co-authored-by: zjb0807 <[email protected]>
  • Loading branch information
xlc and zjb0807 authored Nov 29, 2023
1 parent d5392e7 commit 10ec5a9
Show file tree
Hide file tree
Showing 5 changed files with 884 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@
__pycache__

ts-tests/cache/
ts-tests/.yarn
ts-tests/node_modules/

ts-tests/.yarn/*
!ts-tests/.yarn/patches
!ts-tests/.yarn/plugins
!ts-tests/.yarn/releases
874 changes: 874 additions & 0 deletions ts-tests/.yarn/releases/yarn-3.6.3.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions ts-tests/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.6.3.cjs
3 changes: 2 additions & 1 deletion ts-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
"mocha-steps": "^1.3.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
}
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion ts-tests/tests/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export async function startAcalaNode(autoClaim = true): Promise<{ binary: ChildP
binaryLogs.push(chunk);
if (chunk.toString().match(/best: #0/)) {
try {
const { provider, wallets } = await getTestUtils(`ws://localhost:${RPC_PORT}`, autoClaim);
const { provider, wallets } = await getTestUtils(`ws://127.0.0.1:${RPC_PORT}`, autoClaim);

clearTimeout(timer);
if (!DISPLAY_LOG) {
Expand Down

0 comments on commit 10ec5a9

Please sign in to comment.