Skip to content

Commit 2ddf07c

Browse files
committed
Fix me
1 parent 96baa18 commit 2ddf07c

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

language-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "./src/server.js",
77
"scripts": {
88
"lint": "eslint src",
9-
"test": "vitest --watch=false",
9+
"test": "vitest run src/services/schemas-neovim.test.ts",
1010
"coverage": "vitest run --coverage",
1111
"type-check": "tsc --noEmit"
1212
},

language-server/src/services/schemas-neovim.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe("Feature - workspace (neovim)", () => {
3737
});
3838
});
3939

40-
test("a change to a watched file should validate the workspace", { retry: 3 }, async () => {
40+
test.skip("a change to a watched file should validate the workspace", { retry: 3 }, async () => {
4141
const schemaUris: string[] = [];
4242

4343
client.onNotification(PublishDiagnosticsNotification.type, (params) => {

language-server/src/test/test-client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,12 @@ export class TestClient {
255255
await writeFile(fileURLToPath(fullUri), text, "utf-8");
256256

257257
if (!isIgnored) {
258+
console.log("e");
258259
const buildCompleted = this.buildCompleted();
259260

261+
console.log("f");
260262
if (this.watchEnabled) {
263+
console.log("g");
261264
await this.client.sendNotification(DidChangeWatchedFilesNotification.type, {
262265
changes: [{
263266
type: exists ? FileChangeType.Changed : FileChangeType.Created,
@@ -266,9 +269,12 @@ export class TestClient {
266269
});
267270
}
268271

272+
console.log("h");
269273
await buildCompleted;
274+
console.log("i");
270275
}
271276

277+
console.log("j");
272278
return fullUri;
273279
}
274280

0 commit comments

Comments
 (0)