[Bug] $$virtual karma unit tests #1508
Labels
bug
Something isn't working
external bug
This issue highlights a bug in another project
reproducible
This issue can be successfully reproduced
Describe the bug
After upgrading to the latest yarn berry and updating my package dependencies my karma unit tests no longer run. The issue seems to be caused by #630 which changed
virtual
to$$virtual
.For some reason karma changes
$$virtual
to$virtual
. Possibly some type of escaping bug/feature. This seems like a bug in karma, but it works using node_modules, so I would think yarn would want to correct it.The packageLocation in the .pnp.js file is:
.yarn/$$virtual/karma-jasmine-virtual-d5e825a809/0/cache/karma-jasmine-npm-3.3.1-3b2922b99a-5eda66e5ce.zip/node_modules/karma-jasmine/
But karma ends up requesting:
.yarn/$virtual/karma-jasmine-virtual-d5e825a809/0/cache/karma-jasmine-npm-3.3.1-3b2922b99a-5eda66e5ce.zip/node_modules/karma-jasmine/lib/boot.js
To Reproduce
I created this repo that demonstrates the issue.
Environment if relevant (please complete the following information):
Additional context
Previous version was 2.0.0-rc.6
The text was updated successfully, but these errors were encountered: