Skip to content

Commit 05688a1

Browse files
committed
Revert "replica-port"
This reverts commit 0d8448b.
1 parent 0d8448b commit 05688a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

motoko/icrc2-swap/test/swap/agent.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ export function createActor<T>(
5757
});
5858
}
5959

60-
// Ask dfx where the the replica is running. This is a total hack to work
61-
// around `dfx start` launching on a random port each time.
62-
const dfxPort = execSync("dfx info replica-port", { encoding: "utf-8" });
60+
// Ask dfx where the the webserver is running. This is a total hack to work
61+
// around `dfx start --pocketic` launching on a random port each time.
62+
const dfxPort = execSync("dfx info webserver-port", { encoding: "utf-8" });
6363

6464
export function agent(identity?: Identity) {
6565
const a = new HttpAgent({

0 commit comments

Comments
 (0)