-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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: update common.fixturesDir usage with fixtures.fixturesDir #15874
Conversation
Hi, @alvaro450! Welcome and thanks for this! Can you update this to use |
key: fs.readFileSync(`${common.fixturesDir}/keys/agent2-key.pem`), | ||
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent2-cert.pem`), | ||
key: fs.readFileSync(`${fixtures.fixturesDir}/keys/agent2-key.pem`), | ||
cert: fs.readFileSync(`${fixtures.fixturesDir}/keys/agent2-cert.pem`), |
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 can be:
key: fixtures.readKey('agent2-key.pem'),
cert: fixtures.readKey('agent2-cert.pem')
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.
I will fix this while landing.
key: fs.readFileSync(`${common.fixturesDir}/keys/agent2-key.pem`), | ||
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent2-cert.pem`), | ||
key: fs.readFileSync(`${fixtures.fixturesDir}/keys/agent2-key.pem`), | ||
cert: fs.readFileSync(`${fixtures.fixturesDir}/keys/agent2-cert.pem`), |
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.
I will fix this while landing.
PR-URL: #15874 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Landed in b096533 Thanks for the PR, and congratulations on becoming a Node.js Contributor 🎉 ! |
PR-URL: #15874 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: nodejs/node#15874 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: #15874 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: #15874 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: #15874 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: nodejs/node#15874 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)