Skip to content

Commit a681c86

Browse files
committed
fixup!
1 parent 2a096ab commit a681c86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit/node/app.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ describe("handleArgsSocketCatchError", () => {
338338
jest.restoreAllMocks()
339339
})
340340

341-
it("should log an error if its not an isNodeJSErrnoException", () => {
341+
it("should log an error if its not an NodeJS.ErrnoException", () => {
342342
const error = new Error()
343343

344344
handleArgsSocketCatchError(error)
@@ -347,7 +347,7 @@ describe("handleArgsSocketCatchError", () => {
347347
expect(spy).toHaveBeenCalledWith(error)
348348
})
349349

350-
it("should log an error if its not an isNodeJSErrnoException (and the error has a message)", () => {
350+
it("should log an error if its not an NodeJS.ErrnoException (and the error has a message)", () => {
351351
const errorMessage = "handleArgsSocketCatchError Error"
352352
const error = new Error(errorMessage)
353353

@@ -357,7 +357,7 @@ describe("handleArgsSocketCatchError", () => {
357357
expect(spy).toHaveBeenCalledWith(errorMessage)
358358
})
359359

360-
it("should not log an error if its a isNodeJSErrnoException", () => {
360+
it("should not log an error if its a iNodeJS.ErrnoException", () => {
361361
const error: NodeJS.ErrnoException = new Error()
362362
error.code = "ENOENT"
363363

0 commit comments

Comments
 (0)