Skip to content

Commit c291ba2

Browse files
committed
test: enable AutoLanguageClient tests on macos
1 parent 4bdd209 commit c291ba2

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/auto-languageclient.test.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ function setupServerManager(client = setupClient()) {
3636
describe("AutoLanguageClient", () => {
3737
describe("determineProjectPath", () => {
3838
it("returns the project path for an internal or an external file in the project", async () => {
39-
if (process.platform === "darwin") {
40-
// there is nothing OS specific about the code. It just hits the limits that MacOS can handle in this test
41-
pending("skipped on MacOS")
42-
return
43-
}
4439
const client = setupClient()
4540
const serverManager = setupServerManager(client)
4641

@@ -116,10 +111,6 @@ describe("AutoLanguageClient", () => {
116111
})
117112

118113
describe("getWorkspaceFolders", () => {
119-
if (process.platform === "darwin") {
120-
return
121-
}
122-
123114
it("returns null when no server is running", async () => {
124115
const workspaceFolders = await serverManager.getWorkspaceFolders()
125116
expect(workspaceFolders).toBeNull()
@@ -150,10 +141,6 @@ describe("AutoLanguageClient", () => {
150141
})
151142
})
152143
describe("didChangeWorkspaceFolders", () => {
153-
if (process.platform === "darwin") {
154-
return
155-
}
156-
157144
it("gives a notification if the projects change", async () => {
158145
const projectPath = __dirname
159146
const projectPath2 = dirname(__dirname)

0 commit comments

Comments
 (0)