Skip to content

Commit

Permalink
test: skip some of the tests on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 11, 2021
1 parent 19b6848 commit bb2eefc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/auto-languageclient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ describe("AutoLanguageClient", () => {
expect(projectPath).toBeNull()
})
it("returns the project path when a file of that project is open", async () => {
// macos has issues with handling too much resources
if (process.platform === "darwin") {
return
}
const client = setupClient()
const serverManager = setupServerManager(client)

Expand All @@ -57,6 +61,11 @@ describe("AutoLanguageClient", () => {
expect(client["determineProjectPath"](textEditor)).toBe(normalizePath(projectPath))
})
it("returns the project path for an external file if it is in additional paths", async () => {
// macos has issues with handling too much resources
if (process.platform === "darwin") {
return
}

// "returns the project path when an external file is open and it is not in additional paths"

const client = setupClient()
Expand Down

0 comments on commit bb2eefc

Please sign in to comment.