question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect transform for multiple projects with different transform in the same process

See original GitHub issue

Do you want to request a feature or report a bug? Report a bug

What is the current behavior? Jest uses the same transform for projects with different transform behavior if they run in the same process.

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 and yarn test.

Repository https://github.com/amosyuen/jest-projects-transform-error. Running yarn test succeeds. But running yarn test --runInBand will fail. Error message indicates that the incorrect babel transform was used.

What is the expected behavior? Correct transform for the project should be used. Both yarn test and yarn test --runInBand should succeed.

Please provide your exact Jest configuration https://github.com/amosyuen/jest-projects-transform-error/blob/master/jest.config.js

Run npx envinfo --preset jest in your project directory and paste the results here

Environment: OS: Windows 10 Node: 8.9.4 Yarn: 1.5.1 npm: 5.6.0 Watchman: Not Found Xcode: N/A Android Studio: Version 3.0.0.0 AI-171.4443003

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:17

github_iconTop GitHub Comments

1reaction
SimenBcommented, Jan 7, 2019

Closed by #7186 really, #7565 just fixed a regression introduced for older nodes in #7408

0reactions
github-actions[bot]commented, May 12, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to apply multiple transforms in CSS? - Stack Overflow
When you have multiple transform directives, only the last one will be applied. It's like any other CSS rule.
Read more >
Problem: The geographic transformation list in the Project tool ...
In ArcGIS Desktop, either ArcMap or ArcGIS Pro, when attempting to transform geographic coordinate system using the Project tool, ...
Read more >
Bacterial Transformation Troubleshooting Guide - US
Transformation is mainly performed in molecular cloning to maintain and propagate, in bacteria, DNA sequences of interest incorporated into plasmids.
Read more >
Transform Chaos into Results: How To Juggle Multiple Projects
Another consideration is level of effort. Typically a large majority of your task list will be relatively small tasks. One very effective method...
Read more >
Transforming dependency artifacts on resolution
For a project dependency, the java-api,classes and the java-api,jars variants ... Of all the found transform chains, Gradle tries to select the best...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found