Skip to content

Commit c683e0f

Browse files
committed
fix: update error message
1 parent e521b7e commit c683e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/node/app.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ describe("listen", () => {
271271
})
272272

273273
it("should throw an error if a directory is passed in instead of a file", async () => {
274-
const errorMessage = "EPERM: operation not permitted, unlink"
274+
const errorMessage = "EISDIR: illegal operation on a directory, unlink"
275275
const port = await getAvailablePort()
276276
const mockArgs = { port, host: "0.0.0.0", socket: tmpDirPath }
277277

0 commit comments

Comments
 (0)