summaryrefslogtreecommitdiffhomepage
path: root/src/core/plugin-abi/driver.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/plugin-abi/driver.test.ts')
-rw-r--r--src/core/plugin-abi/driver.test.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/plugin-abi/driver.test.ts b/src/core/plugin-abi/driver.test.ts
index e8c8e7e..b02c76b 100644
--- a/src/core/plugin-abi/driver.test.ts
+++ b/src/core/plugin-abi/driver.test.ts
@@ -41,7 +41,7 @@ function harness(): Harness {
return mod;
},
buildHostApi: (pluginId) => ({
- abiVersion: "1",
+ abiVersion: "1.1",
registerView: () => () => {},
surfaces: {
subscribe: () => {},
@@ -50,6 +50,10 @@ function harness(): Harness {
getSpec: () => null,
},
logger: { info: () => {}, warn: () => {} },
+ layout: {
+ applyOps: async () => ({ ok: false, error: "no layout provider active" }),
+ getTree: () => null,
+ },
...(pluginId === undefined ? {} : {}),
}),
unregisterViewsByPlugin: (pluginId) => sweeps.push(pluginId),