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 usage of common.fixtures by common.fixturesDir #15917

Closed
wants to merge 1 commit into from

Conversation

nchaulet
Copy link
Contributor

@nchaulet nchaulet commented Oct 6, 2017

In test/parallel/test-process-redirect-warning.js replace usage of common.fixture by common.fixturesDir

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

tests

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Oct 6, 2017
@mscdex mscdex added the process Issues and PRs related to the process subsystem. label Oct 6, 2017
@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
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'));
Copy link
Member

Choose a reason for hiding this comment

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

The resolve part should be obsolete.

In test/parallel/test-process-redirect-warning.js replace usage of common.fixture by common.fixturesDir
@joyeecheung
Copy link
Member

jasnell pushed a commit that referenced this pull request Oct 13, 2017
In test/parallel/test-process-redirect-warning.js replace usage of
common.fixture by common.fixturesDir

PR-URL: #15917
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@jasnell
Copy link
Member

jasnell commented Oct 13, 2017

Landed in 8a8cd40

@jasnell jasnell closed this Oct 13, 2017
addaleax pushed a commit to ayojs/ayo that referenced this pull request Oct 15, 2017
In test/parallel/test-process-redirect-warning.js replace usage of
common.fixture by common.fixturesDir

PR-URL: nodejs/node#15917
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
targos pushed a commit that referenced this pull request Oct 18, 2017
In test/parallel/test-process-redirect-warning.js replace usage of
common.fixture by common.fixturesDir

PR-URL: #15917
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Nov 16, 2017
In test/parallel/test-process-redirect-warning.js replace usage of
common.fixture by common.fixturesDir

PR-URL: #15917
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Nov 21, 2017
MylesBorins pushed a commit that referenced this pull request Nov 21, 2017
In test/parallel/test-process-redirect-warning.js replace usage of
common.fixture by common.fixturesDir

PR-URL: #15917
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Nov 28, 2017
In test/parallel/test-process-redirect-warning.js replace usage of
common.fixture by common.fixturesDir

PR-URL: #15917
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
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. process Issues and PRs related to the process subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants