We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the code: https://github.com/kulshekhar/ts-jest/blob/master/src/utils.ts#L29
Is using fs.constants.R_OK, but fs.constants is not exist in Node 4.
https://nodejs.org/dist/latest-v4.x/docs/api/fs.html#fs_fs_access_path_mode_callback
I'm hoping author could a add fs.constants checking, just like
fs.constants
const R_OK = fs.constants && fs.constants.R_OK || fs.R_OK; try { fs.accessSync(filePath, R_OK); }
The text was updated successfully, but these errors were encountered:
Fixing #35
67d357d
We have more general issue now (#36), so I'm closing this one in favor of it.
Sorry, something went wrong.
No branches or pull requests
In the code:
https://github.com/kulshekhar/ts-jest/blob/master/src/utils.ts#L29
Is using fs.constants.R_OK, but fs.constants is not exist in Node 4.
https://nodejs.org/dist/latest-v4.x/docs/api/fs.html#fs_fs_access_path_mode_callback
I'm hoping author could a add
fs.constants
checking, just likeThe text was updated successfully, but these errors were encountered: