File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ describe("handleArgsSocketCatchError", () => {
338
338
jest . restoreAllMocks ( )
339
339
} )
340
340
341
- it ( "should log an error if its not an isNodeJSErrnoException " , ( ) => {
341
+ it ( "should log an error if its not an NodeJS.ErrnoException " , ( ) => {
342
342
const error = new Error ( )
343
343
344
344
handleArgsSocketCatchError ( error )
@@ -347,7 +347,7 @@ describe("handleArgsSocketCatchError", () => {
347
347
expect ( spy ) . toHaveBeenCalledWith ( error )
348
348
} )
349
349
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)" , ( ) => {
351
351
const errorMessage = "handleArgsSocketCatchError Error"
352
352
const error = new Error ( errorMessage )
353
353
@@ -357,7 +357,7 @@ describe("handleArgsSocketCatchError", () => {
357
357
expect ( spy ) . toHaveBeenCalledWith ( errorMessage )
358
358
} )
359
359
360
- it ( "should not log an error if its a isNodeJSErrnoException " , ( ) => {
360
+ it ( "should not log an error if its a iNodeJS.ErrnoException " , ( ) => {
361
361
const error : NodeJS . ErrnoException = new Error ( )
362
362
error . code = "ENOENT"
363
363
You can’t perform that action at this time.
0 commit comments