Closed
Description
After a long discussion here, we came to the realization that there's a bug inside Jest which affects our function isNodeJSErrnoException
.
$ node -e 'try { fs.readFileSync("/") } catch (error) { console.log(error instanceof Error) }'
true
References: