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

Allow custom resolver to be used with[out] moduleNameMapper #4174

Merged
merged 5 commits into from
Aug 31, 2017
Merged

Allow custom resolver to be used with[out] moduleNameMapper #4174

merged 5 commits into from
Aug 31, 2017

Commits on Aug 30, 2017

  1. Allow the custom resolver to be used with and without the moduleNameM…

    …apper.
    
    Also, improve error message when moduleNameMapper doesn't resolve to a module.
    Min Idzelis committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    95bd1e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb38a71 View commit details
    Browse the repository at this point in the history
  3. Fix type and lint errors.

    Min Idzelis committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    4773cba View commit details
    Browse the repository at this point in the history
  4. Bug: rootDir wasn't the same value when --runInBand vs parallel

    rootDir was modified after initialization to be process.cwd. In case of --runInBand,
    The resolver was intialized before the rootDir value was altered. In case of parallel,
    the Resolver was initialized in each spawned process using values of rootDir after
    initialization.
    
    Fix is to introduce a new config.cwd option that will be set to the parent processes
    cwd. Adjust the console reporters to favor config.cwd over config.rootDir.
    Min Idzelis committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    ab314c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2017

  1. Configuration menu
    Copy the full SHA
    530504e View commit details
    Browse the repository at this point in the history