Comments (3)
Disabling the resolver and using the default jest
one, it still happens.
from jest-node-exports-resolver.
Ok, found the issue :-) At
jest-node-exports-resolver/index.js
Line 45 in edee219
submoduleName
has an extension, and if so, use directly the default resolver. But, extensions can be part of the export, so by removing the check, it works now :-) I'll do some checks and later a pull-request.from jest-node-exports-resolver.
PR at #3
from jest-node-exports-resolver.
Related Issues (11)
- Don't require export of `package.json` file HOT 13
- Doesn't Appear to work with Top level node Exports HOT 6
- "setupFiles" and "setupFilesAfterEnv" Jest options do not work properly when using jest-node-exports-resolver HOT 2
- Doesn't seem to work with @firebase/auth
- Doesn't work for older versions of Jest HOT 3
- findMainPackageJson() doesn't work properly on Windows HOT 1
- Get `Cannot find module` error after upgrade to Jest 29.0.0+ HOT 3
- Don't work with `exports` as string HOT 1
- Doesn't work with `ws` module HOT 3
- Since 1.1.3 'Cannot use import statement outside a module' HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jest-node-exports-resolver.