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

[Bug]: transform does not accept file: urls #15153

Closed
latin-1 opened this issue Jun 29, 2024 · 2 comments · Fixed by #15154
Closed

[Bug]: transform does not accept file: urls #15153

latin-1 opened this issue Jun 29, 2024 · 2 comments · Fixed by #15154

Comments

@latin-1
Copy link
Contributor

latin-1 commented Jun 29, 2024

Version

29.7.0

Steps to reproduce

export default {
  transform: {
    "\\.[jt]sx?$": import.meta.resolve("babel-jest"),
  },
};

Expected behavior

Work without errors.

Actual behavior

Module file:///.../node_modules/babel-jest/build/index.js in the transform option was not found.

Additional context

No response

Environment

System:
    OS: Linux 6.9 Arch Linux
    CPU: (16) x64 AMD Ryzen 7 6800U with Radeon Graphics
  Binaries:
    Node: 22.3.0 - ~/.proto/shims/node
    Yarn: 4.3.1 - ~/.proto/shims/yarn
    npm: 10.8.1 - ~/.proto/shims/npm
    pnpm: 9.4.0 - ~/.proto/shims/pnpm
Copy link

github-actions bot commented Aug 2, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 2, 2024
@SimenB
Copy link
Member

SimenB commented Aug 8, 2024

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants