Skip to content
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: replace fixturesDir to use fixtures module #15831

Closed

Conversation

joshualim92
Copy link
Contributor

Change usage of fixturesDir to be from the common.fixtures module instead of common.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Oct 6, 2017
@@ -34,7 +35,7 @@ let fileTime;
common.refreshTmpDir();

// test creating and reading symbolic link
const linkData = path.join(common.fixturesDir, '/cycles/root.js');
const linkData = path.join(fixtures.fixturesDir, '/cycles/root.js');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be using method fixtures.path instead of path.join.

@joshualim92 joshualim92 force-pushed the update-fixtures-test-fs-symlink branch from bf1eacd to 9c89056 Compare October 6, 2017 18:34
@joshualim92
Copy link
Contributor Author

@pawelgolda good catch. I updated the PR.

Copy link
Contributor

@rmg rmg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for making Node.js better!

@Trott Trott added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Oct 6, 2017
@mscdex mscdex added the fs Issues and PRs related to the fs subsystem / file system. label Oct 6, 2017
@gireeshpunathil
Copy link
Member

@joshualim92
Copy link
Contributor Author

@gireeshpunathil I rebased again with the upstream master and all the tests are passing locally. Maybe the CI job will pass now?

@BridgeAR
Copy link
Member

It seems like something went wrong while rebasing. There are lots of unrelated commits in here.

@joshualim92 joshualim92 force-pushed the update-fixtures-test-fs-symlink branch from 1b8f1a6 to 19f5b96 Compare October 10, 2017 20:33
@joshualim92
Copy link
Contributor Author

@BridgeAR, not sure how that happened. Should be fixed now.

gireeshpunathil pushed a commit that referenced this pull request Oct 11, 2017
PR-URL: #15831
iReviewed-By: Ryan Graham <r.m.graham@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
@gireeshpunathil
Copy link
Member

Landed in e04e927
Thank you for the contribution!

addaleax pushed a commit to addaleax/ayo that referenced this pull request Oct 12, 2017
PR-URL: nodejs/node#15831
iReviewed-By: Ryan Graham <r.m.graham@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
targos pushed a commit that referenced this pull request Oct 18, 2017
PR-URL: #15831
iReviewed-By: Ryan Graham <r.m.graham@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. fs Issues and PRs related to the fs subsystem / file system. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.