-
Notifications
You must be signed in to change notification settings - Fork 220
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
fix: use os.tmpdir()
to safely store _karma_webpack_
#279
Conversation
os.tmpdir()
to safely store _karma_webpack_os.tmpdir()
to safely store _karma_webpack_
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove everything you added under ./lib
@d3viant0ne, good catch; just rewrote that commit without the build files in |
os.tmpdir()
to safely store _karma_webpack_os.tmpdir()
to safely store _karma_webpack_
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@8bitDesigner Thx
@d3viant0ne approve ? |
This is probably user error on my part but with 2.0.6 my tests are running fine. On 2.0.8 I get an error:
Code that seems to be triggering this is react-intl-loader:
I'll dig into it more but if there's anything obvious that stands out then that would be a great help. thanks |
@bladedancer Hi, create new issue pleas. Thanks! |
My test suite also breaks with this PR. The problem is that I have an elaborate webpack config that builds other stuff alongside the karma test bundle. If I run integration tests that depend on those other bundles I could access them under |
Hey mate, you should be able to get a reference to that folder using the node |
Yes, you are right. I ended up using the value |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
From #230:
What is the new behavior?
Instead of using a
_karma_webpack_
directory in root, it the plugin now uses a_karma_webpack_
directory from the system's temp folder.Does this PR introduce a breaking change?
If this PR contains a breaking change, please describe the following...
Other information: