-
Notifications
You must be signed in to change notification settings - Fork 18
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
Version 2.6.3 changed the way to mock libraries #293
Version 2.6.3 changed the way to mock libraries #293
Comments
night time here now but will take a look tomorrow |
@Jeff-Tham a solution should be ready in a few hours. This type of wildcard/glob expansion and matching is a "weak" area of esmock which will be improved as a result of this issue. A hacky sort-of solution was implemented a few weeks back #289 and the newer solution will be a little less hacky (imo) |
this should resolve the issue iambumblehead/resolvewithplus#67 |
@Jeff-Tham thanks for opening the issue. Awaiting replies to the PR.... |
@iambumblehead , if you can publish a beta version, i can test it with my code. Thanks for the quick response! |
[email protected] is published please reopen or open a new issue if there are any problems :) |
The bug is fixed. |
Prior to version 2.6.3, the follow code snippet is working fine.
after upgrade version to 2.6.3, it produces follow error:
Error: ENOENT: no such file or directory, realpath '/xxx/node_modules/app-utils/.js.js/src/logger/logger/*'
unknown.js.js
included.it expected to rewrite the code and pointed to the node_modules directory as:
FYI, the package.json for
app-utils
use this setting:The text was updated successfully, but these errors were encountered: