-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: replaced common.fixturesDir with common.fixtures in test-process-redirect-warnings-env #15930
Conversation
…rect-warnings-env
const fs = require('fs'); | ||
const fork = require('child_process').fork; | ||
const path = require('path'); | ||
const assert = require('assert'); | ||
|
||
common.refreshTmpDir(); | ||
|
||
const warnmod = require.resolve(`${common.fixturesDir}/warnings.js`); | ||
const warnmod = require.resolve(`${fixtures.fixturesDir}/warnings.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.
This should probably be replaced with fixtures.path("/warnings.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.
@BridgeAR Indeed. Thanks
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.
const fs = require('fs'); | ||
const fork = require('child_process').fork; | ||
const path = require('path'); | ||
const assert = require('assert'); | ||
|
||
common.refreshTmpDir(); | ||
|
||
const warnmod = require.resolve(`${common.fixturesDir}/warnings.js`); | ||
const warnmod = require.resolve(fixtures.path('/warnings.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.
This could be just fixtures.path('warnings.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.
Fixing this on landing
Failures in CI are unrelated. |
Replaced common.fixturesDir with common.fixtures in test-process-redirect-warnings-env PR-URL: #15930 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in ab6eed8. |
Replaced common.fixturesDir with common.fixtures in test-process-redirect-warnings-env PR-URL: nodejs/node#15930 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Replaced common.fixturesDir with common.fixtures in test-process-redirect-warnings-env PR-URL: #15930 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Replaced common.fixturesDir with common.fixtures in test-process-redirect-warnings-env PR-URL: #15930 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Replaced common.fixturesDir with common.fixtures in test-process-redirect-warnings-env PR-URL: #15930 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Replaced common.fixturesDir with common.fixtures in test-process-redirect-warnings-env PR-URL: #15930 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)