You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected behavior?
Importing a module mock on windows:
Should work when importing from "foo/bar"
Should not work when importing from "foo\bar" (unless I'm mistaken)
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
Jest config is practically nonexistent, see the repro repo.
The text was updated successfully, but these errors were encountered:
erik-inkapool
changed the title
Unable to find mock when path includes "/" on Windows
babel-jest is unable to find mock when path includes "/" on Windows
Aug 16, 2017
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Do you want to request a feature or report a bug?
Reporting a bug
What is the current behavior?
Importing a module mock using
import
with babel-jest on Windows:If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can
yarn install
andyarn test
.https://github.com/erik-lundgren/jest-windows-module-resolve-issue
What is the expected behavior?
Importing a module mock on windows:
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
Jest config is practically nonexistent, see the repro repo.
Node: v8.4.0
npm: 5.3.0
Windows: 1607 (build 14393.1593)
The text was updated successfully, but these errors were encountered: