Skip to content

Commit 0a10bcb

Browse files
committed
Fix test
1 parent 1561751 commit 0a10bcb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/opencode/test/plugin/workspace-adaptor.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ describe("plugin.workspace", () => {
3333
await Bun.write(
3434
file,
3535
[
36-
"export default async ({ workspace }) => {",
37-
` workspace.install(${JSON.stringify(type)}, {`,
36+
"export default async ({ experimental_workspace }) => {",
37+
` experimental_workspace.register(${JSON.stringify(type)}, {`,
38+
' name: "plug",',
39+
' description: "plugin workspace adaptor",',
3840
" configure(input) {",
3941
` return { ...input, name: \"plug\", branch: \"plug/main\", directory: ${JSON.stringify(space)} }`,
4042
" },",

0 commit comments

Comments
 (0)