test: update fixturesDir import#15887
Closed
seabrookmx wants to merge 2 commits intonodejs:masterfrom
seabrookmx:codenlearn
Closed
test: update fixturesDir import#15887seabrookmx wants to merge 2 commits intonodejs:masterfrom seabrookmx:codenlearn
seabrookmx wants to merge 2 commits intonodejs:masterfrom
seabrookmx:codenlearn
Conversation
Member
|
Hi, @seabrookmx! Welcome and thanks for this! Can you update this to use |
BridgeAR
reviewed
Oct 9, 2017
test/sequential/test-stream2-fs.js
Outdated
Member
There was a problem hiding this comment.
There is a dedicated fixtures.path function that could be used here.
Member
|
Ah, sorry @Trott I did not read your comment before writing mine. |
jasnell
approved these changes
Oct 10, 2017
Import fixturesDir path from common/fixturesDir module rather than from common.
Contributor
Author
|
@Trott Thanks for the link. Commit updated 🙇♂️ |
Member
|
@seabrookmx - thanks, can you also apply @BridgeAR's recommendation to improve the code further? |
lpinca
reviewed
Oct 13, 2017
test/sequential/test-stream2-fs.js
Outdated
|
|
||
| const path = require('path'); | ||
| const file = path.resolve(common.fixturesDir, 'x1024.txt'); | ||
| const file = path.resolve(fixtures.path(), 'x1024.txt'); |
Member
There was a problem hiding this comment.
This could be just fixtures.path('x1024.txt').
Member
joyeecheung
approved these changes
Oct 14, 2017
Member
|
Landed in bb56fbb, thank you for the contribution! |
joyeecheung
pushed a commit
that referenced
this pull request
Oct 14, 2017
Import fixturesDir path from common/fixturesDir module rather than from common. PR-URL: #15887 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
addaleax
pushed a commit
to ayojs/ayo
that referenced
this pull request
Oct 15, 2017
Import fixturesDir path from common/fixturesDir module rather than from common. PR-URL: nodejs/node#15887 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
targos
pushed a commit
that referenced
this pull request
Oct 18, 2017
Import fixturesDir path from common/fixturesDir module rather than from common. PR-URL: #15887 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
MylesBorins
pushed a commit
that referenced
this pull request
Nov 16, 2017
Import fixturesDir path from common/fixturesDir module rather than from common. PR-URL: #15887 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Merged
MylesBorins
pushed a commit
that referenced
this pull request
Nov 21, 2017
Import fixturesDir path from common/fixturesDir module rather than from common. PR-URL: #15887 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
MylesBorins
pushed a commit
that referenced
this pull request
Nov 28, 2017
Import fixturesDir path from common/fixturesDir module rather than from common. PR-URL: #15887 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@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.
Import fixturesDir path from common/fixturesDir
module rather than from common.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)