A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/facebook/jest/issues/8536 below:

Unable to have a root on a separate drive on Windows · Issue #8536 · jestjs/jest · GitHub

🐛 Bug Report

Passing a folder on a different directory on Windows to the roots configuration option fails as jest-haste-map is trying to resolve all paths relative to the rootDir, but this is not possible on Windows where a relative path from one drive to another will produce an absolute path.

This bug was introduced in #7020

To Reproduce

Steps to reproduce the behavior:

Expected behavior

The paths that are on a separate drive should not be resolved relatively to the rootDir, but should be taken as is. We're using a patch that does this and that seems to solve the issue.

Run npx envinfo --preset jest

Paste the results here:

  System:
    OS: Windows 10
    CPU: (4) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
  Binaries:
    Node: 10.16.0 - C:\Program Files\nodejs\node.EXE
    npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4