Skip to content

Commit bb2eefc

Browse files
committed
test: skip some of the tests on macos
1 parent 19b6848 commit bb2eefc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/auto-languageclient.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ describe("AutoLanguageClient", () => {
4343
expect(projectPath).toBeNull()
4444
})
4545
it("returns the project path when a file of that project is open", async () => {
46+
// macos has issues with handling too much resources
47+
if (process.platform === "darwin") {
48+
return
49+
}
4650
const client = setupClient()
4751
const serverManager = setupServerManager(client)
4852

@@ -57,6 +61,11 @@ describe("AutoLanguageClient", () => {
5761
expect(client["determineProjectPath"](textEditor)).toBe(normalizePath(projectPath))
5862
})
5963
it("returns the project path for an external file if it is in additional paths", async () => {
64+
// macos has issues with handling too much resources
65+
if (process.platform === "darwin") {
66+
return
67+
}
68+
6069
// "returns the project path when an external file is open and it is not in additional paths"
6170

6271
const client = setupClient()

0 commit comments

Comments
 (0)