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: normalize location test-worker-process-cwd.js runs tests #28271

Closed
wants to merge 1 commit into from

Commits on Jun 17, 2019

  1. test: normalize location test-worker-process-cwd.js runs tests

    This change sets the process' directory to __dirname in order to
    normalize where the test is ran.  This addresses the situation that
    occurs when node is located in the root, and moving up a directory
    results in the same directory.  In that case, an error was thrown
    because the test interpreted this as a failed directory change.
    
    Fixes: nodejs#28193
    ssample812 committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    484814b View commit details
    Browse the repository at this point in the history