Skip to content
New issue

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

test: migrate process.binding to internalBinding for misc. #24952

Closed
wants to merge 12 commits into from
Closed
Prev Previous commit
Next Next commit
Update test/parallel/test-fs-readdir-types.js
Co-Authored-By: BeniCheni <benjaminlchen@gmail.com>
joyeecheung and BeniCheni committed Feb 27, 2019
commit 741e63d704b7be7f7b135adee1c6b5be71f1d1a2
2 changes: 1 addition & 1 deletion test/parallel/test-fs-readdir-types.js
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ const binding = internalBinding('fs');

const readdirDir = tmpdir.path;
const files = ['empty', 'files', 'for', 'just', 'testing'];
const constants = internalBinding('constants').fs;
const constants = require('fs').constants;
const types = {
isDirectory: constants.UV_DIRENT_DIR,
isFile: constants.UV_DIRENT_FILE,