test: Replaced common.fixturesDir with common.fixtures (https-foafssl.js)#15856
Closed
frkat wants to merge 2 commits intonodejs:masterfrom
Closed
test: Replaced common.fixturesDir with common.fixtures (https-foafssl.js)#15856frkat wants to merge 2 commits intonodejs:masterfrom
frkat wants to merge 2 commits intonodejs:masterfrom
Conversation
Member
|
Hi, @frkat! Welcome and thanks for this! Can you update this to use |
jasnell
reviewed
Oct 10, 2017
test/parallel/test-https-foafssl.js
Outdated
| key: fs.readFileSync(`${common.fixturesDir}/agent.key`), | ||
| cert: fs.readFileSync(`${common.fixturesDir}/agent.crt`), | ||
| key: fs.readFileSync(`${fixtures.fixturesDir}/agent.key`), | ||
| cert: fs.readFileSync(`${fixtures.fixturesDir}/agent.crt`), |
Member
There was a problem hiding this comment.
This can be:
key: fixtures.readSync('agent.key'),
cert: fixtures.readSync('agent.crt')
jasnell
reviewed
Oct 10, 2017
| '-key', join(common.fixturesDir, 'foafssl.key')]; | ||
| '-cert', join(fixtures.fixturesDir, 'foafssl.crt'), | ||
| '-key', join(fixtures.fixturesDir, 'foafssl.key')]; | ||
|
|
Member
There was a problem hiding this comment.
This can be:
'-cert', fixtures.path('foafssl.crt'),
'-key', fixtures.path('foafssl.key')
Contributor
Author
|
Updated the code, please check again - thanks! |
Trott
approved these changes
Oct 12, 2017
Member
lpinca
approved these changes
Oct 12, 2017
|
|
||
| 'use strict'; | ||
| const common = require('../common'); | ||
| const fixtures = require('../common/fixtures'); |
Member
There was a problem hiding this comment.
Nit: it would be great if you could move this after the common.skip() checks.
Trott
pushed a commit
to Trott/io.js
that referenced
this pull request
Oct 12, 2017
Replace use of fixturesDir with fixtures.readSync and fixtures.path. PR-URL: nodejs#15856 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Member
Member
|
Thanks for the contribution! 🎉 |
addaleax
pushed a commit
to ayojs/ayo
that referenced
this pull request
Oct 15, 2017
Replace use of fixturesDir with fixtures.readSync and fixtures.path. PR-URL: nodejs/node#15856 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
targos
pushed a commit
that referenced
this pull request
Oct 18, 2017
Replace use of fixturesDir with fixtures.readSync and fixtures.path. PR-URL: #15856 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MylesBorins
pushed a commit
that referenced
this pull request
Nov 16, 2017
Replace use of fixturesDir with fixtures.readSync and fixtures.path. PR-URL: #15856 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Merged
MylesBorins
pushed a commit
that referenced
this pull request
Nov 21, 2017
Replace use of fixturesDir with fixtures.readSync and fixtures.path. PR-URL: #15856 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MylesBorins
pushed a commit
that referenced
this pull request
Nov 28, 2017
Replace use of fixturesDir with fixtures.readSync and fixtures.path. PR-URL: #15856 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)