Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 81c8d9b

Browse files
Add unit test for develop network
1 parent 6572daa commit 81c8d9b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/core/test/lib/command-utils.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe("command-utils", function () {
4646
);
4747
});
4848

49-
it("returns a config with a url host network object having the url property ", function () {
49+
it("returns a config with a network object having the specified url property ", function () {
5050
const cfg = deriveConfigEnvironment(
5151
config,
5252
"anyTimeNetwork",
@@ -89,5 +89,10 @@ describe("command-utils", function () {
8989
expectedNetworkConfig.customUserProperty
9090
);
9191
});
92+
93+
it("returns a config with a develop network object having default managed Ganache properties", function () {
94+
const cfg = deriveConfigEnvironment(config, "develop", undefined);
95+
assert.equal(cfg.networks.develop.network_id, 5777);
96+
});
9297
});
9398
});

0 commit comments

Comments
 (0)