Skip to content

Commit

Permalink
test: update workspace test (#4158)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored Oct 2, 2024
1 parent 348f705 commit 96573f8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/@biomejs/backend-jsonrpc/tests/workspace.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ describe("Workspace API", () => {
await workspace.openFile({
path: {
path: "test.js",
id: 0,
was_written: false,
kind: ["Handleable"],
},
content: "statement()",
version: 0,
Expand All @@ -29,7 +30,8 @@ describe("Workspace API", () => {
const printed = await workspace.formatFile({
path: {
path: "test.js",
id: 0,
was_written: false,
kind: ["Handleable"],
},
});

Expand All @@ -38,7 +40,8 @@ describe("Workspace API", () => {
await workspace.closeFile({
path: {
path: "test.js",
id: 0,
was_written: false,
kind: ["Handleable"],
},
});

Expand Down

0 comments on commit 96573f8

Please sign in to comment.