Skip to content

Commit 14811a8

Browse files
committed
Windows sucks
1 parent 37fbd35 commit 14811a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { afterAll, beforeAll, describe, expect, test } from "vitest";
22
import { TestClient } from "../test/test-client.ts";
33
import { PublishDiagnosticsNotification } from "vscode-languageserver";
4+
import { wait } from "../test/test-utils.ts";
45

56
import type { DocumentSettings } from "./configuration.js";
67

@@ -45,8 +46,10 @@ describe("Feature - workspace (neovim)", () => {
4546
client.onNotification(PublishDiagnosticsNotification.type, (params) => {
4647
schemaUris.push(params.uri);
4748
});
49+
await wait(100);
4850

4951
await client.writeDocument("./subjectB.schema.json", `{ "$schema": "https://json-schema.org/draft/2020-12/schema" }`);
52+
await wait(100);
5053

5154
expect(schemaUris).to.eql([documentUriA, documentUriB]);
5255
});

0 commit comments

Comments
 (0)