Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions test/unit/node/util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,3 +537,10 @@ describe("isWsl", () => {
})
})
})

describe("open", () => {
it("should throw an error if address is a string", async () => {
const address = "localhost:3000"
await expect(util.open(address)).rejects.toThrow("Cannot open socket paths")
})
})