-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: replaces fixturesDir with fixtures #15838
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for helping make Node.js better!
|
||
common.skipIfInspectorDisabled(); | ||
|
||
const assert = require('assert'); | ||
const execFile = require('child_process').execFile; | ||
const path = require('path'); | ||
|
||
const mainScript = path.join(common.fixturesDir, 'loop.js'); | ||
const mainScript = path.join(fixtures.fixturesDir, 'loop.js'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about using fixtures.path('loop.js')
to replace path.join(..., 'loop.js')
and make this even simpler?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. thank you!
should I squash the commits? |
@alireza-a You can do that, or whoever lands this will take care of it. |
Landed in 7ba896e, thanks for the contribution! |
PR-URL: #15838 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: #15838 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
PR-URL: nodejs/node#15838 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)