Module state is hq ADR 0201 after all: the derived-value record moved to 0202 on hq main
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// A launched bundle that keeps state through its runtime (novox/hq ADR 0202): it watches its servers as
|
||||
// A launched bundle that keeps state through its runtime (novox/hq ADR 0201): it watches its servers as
|
||||
// it is imported, before it says what it serves, and its tools write, read and list them.
|
||||
import { state } from "../../dist/state/index.js";
|
||||
import { registerModuleTools } from "../../dist/tools/index.js";
|
||||
|
||||
+1
-1
@@ -160,7 +160,7 @@ test("a launched bundle subscribes as it is imported, handles events the runtime
|
||||
}
|
||||
});
|
||||
|
||||
test("a launched bundle watches its state as it is imported, has the current values before it goes on, and keeps state through the runtime (ADR 0202)", async () => {
|
||||
test("a launched bundle watches its state as it is imported, has the current values before it goes on, and keeps state through the runtime (ADR 0201)", async () => {
|
||||
const child = spawn(process.execPath, [fileURLToPath(new URL("./fixtures/stdio-state.mjs", import.meta.url))],
|
||||
{ stdio: ["pipe", "pipe", "pipe"], env: { ...process.env, MESH_SERVED_MODULE: "keeper" } });
|
||||
const seen: any[] = [];
|
||||
|
||||
Reference in New Issue
Block a user