Make local graph execution optional across composed packages
This commit is contained in:
@@ -28,9 +28,9 @@ test("acceptance syntax retains separate final-state ports through formatting, p
|
||||
]);
|
||||
assert.equal(kernel.packages[0]!.exports.find((e) => e.id === "runtime:change")!.acceptance, "runtime:check");
|
||||
assert.ok(
|
||||
!generatePortableTypeScriptBindings(plan.definition.bindingSchema, "runtime@1", { target: "browser" }).includes(
|
||||
'"runtime:check"',
|
||||
),
|
||||
!generatePortableTypeScriptBindings(plan.definition.bindingSchema, "runtime@1", {
|
||||
target: "target:org.quixos.execution.javascript@1",
|
||||
}).includes('"runtime:check"'),
|
||||
);
|
||||
assert.ok(
|
||||
generatePortableTypeScriptBindings(plan.definition.bindingSchema, "runtime@1", { target: "server" }).includes(
|
||||
@@ -43,7 +43,7 @@ test("acceptance syntax retains separate final-state ports through formatting, p
|
||||
test("acceptance declarations reject wrong effects/signatures and missing or mutable ports", () => {
|
||||
for (const [pkg, ws] of [
|
||||
[runtime.replace("snapshot targets [server]", "transaction targets [server]"), workspace],
|
||||
[runtime.replace("snapshot targets [server]", "snapshot targets [browser, server]"), workspace],
|
||||
[runtime.replace("snapshot targets [server]", "snapshot targets [JavaScript, server]"), workspace],
|
||||
[
|
||||
runtime.replace('check id "runtime:check" : int32 -> unit', 'check id "runtime:check" : string -> unit'),
|
||||
workspace,
|
||||
|
||||
Reference in New Issue
Block a user