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

Failing tests on a windows machine due to path format #10209

Closed
sag1v opened this issue Jul 12, 2019 · 2 comments · Fixed by #10249
Closed

Failing tests on a windows machine due to path format #10209

sag1v opened this issue Jul 12, 2019 · 2 comments · Fixed by #10249
Labels
area: tests awaiting reply outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@sag1v
Copy link
Contributor

sag1v commented Jul 12, 2019

When running yarn jest transform-runtime
The packages/babel-plugin-transform-runtime/test/index.js tests fails with (not the backslashes \ -> //):

- var _classCallCheck = require("<CWD>/packages/babel-plugin-transform-runtime/node_modules/@babel/runtime/helpers/classCallCheck");
+ var _classCallCheck = require("<CWD>\\packages\\babel-plugin-transform-runtime\\node_modules\\@babel\\runtime/helpers/classCallCheck");

When running make test, all of these fail

  • packages/babel-core/test/config-chain.js
  • packages/babel-preset-env-standalone/test/babel-preset-env.js
  • packages/babel-generator/test/index.js
  • packages/babel-plugin-transform-react-jsx-source/test/index.js
  • packages/babel-preset-react/test/preset-options.js
  • packages/babel-plugin-transform-runtime/test/index.js
  • packages/babel-preset-env/test/debug-fixtures.js
  • packages/babel-generator/test/index.js

Windows 7 (x64)

@babel-bot
Copy link
Collaborator

Hey @sag1v! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community
that typically always has someone willing to help. You can sign-up here
for an invite.

@JLHwung
Copy link
Contributor

JLHwung commented Jul 21, 2019

@sag1v Could you attach the jest result report? It can help us narrow down the list of affected modules. You can do it like

yarn jest > test-report.log 2>&1

@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Dec 26, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Dec 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: tests awaiting reply outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
4 participants