fix: 为 v03 Cloud Web 指定可用 npm registry
This commit is contained in:
@@ -751,6 +751,8 @@ test("v03 render keeps node identity as data instead of generated structure", as
|
||||
successThreshold: 1
|
||||
});
|
||||
const cloudWebEnv = new Map((cloudWebContainer?.env ?? []).map((entry) => [entry.name, entry.value]));
|
||||
assert.equal(cloudWebEnv.get("BUN_CONFIG_REGISTRY"), "https://registry.npmjs.org/");
|
||||
assert.equal(cloudWebEnv.get("npm_config_registry"), "https://registry.npmjs.org/");
|
||||
assert.equal(cloudWebEnv.get("HWLAB_WORKBENCH_LIVE_KAFKA_SSE_ENABLED"), "true");
|
||||
assert.equal(cloudWebEnv.get("HWLAB_WORKBENCH_KAFKA_REFRESH_REPLAY_ENABLED"), "true");
|
||||
assert.equal(cloudWebEnv.get("HWLAB_WORKBENCH_PROJECTION_REALTIME_ENABLED"), "false");
|
||||
|
||||
Reference in New Issue
Block a user