Add interface-oriented client sessions and headless capability access (WI-07)
This commit is contained in:
@@ -66,7 +66,7 @@ test("one imported operation contract links to two atom implementations without
|
||||
assert.equal(linkInterfaceOperation(plan, "one", contract).atomId, "one");
|
||||
assert.equal(linkInterfaceOperation(plan, "two", contract).atomId, "two");
|
||||
const generated = generateInterfaceClientBindings({ Data: iface });
|
||||
assert.ok(generated.includes("defineInterfaceOperation<null, string>"));
|
||||
assert.ok(generated.includes("defineInterfaceOperation<null, string,"));
|
||||
for (const privateValue of [plan.digest, "One:label", '"atomId"', '"binding"'])
|
||||
assert.equal(generated.includes(privateValue), false);
|
||||
assert.throws(() => linkInterfaceOperation(plan, "absent", contract), /UNINSTALLED_OPERATION/);
|
||||
|
||||
Reference in New Issue
Block a user