You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
Tests are working with jest 26.
You cannot upgrade to jest 27 since you get jasmine is not defined.
Setting up testRunner: 'jest-jasmine2' in the configuration to retain old jasmine does not help either and throws Cannot read property 'rootDir' of undefined.
Expected behavior:
For the upcoming stencil 2.6, would it be possible to support jest 27?
Steps to reproduce:
Upgrade jest and jest-cli to 27. Try running tests.
Reacted by David MARTIN, Stephan Herzog, antoniosZ, jase, Stefan Forner and Martin Rodriguez
runJest: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './build/cli/args' is not defined by
"exports" in .../node_modules/jest-cli/package.json
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Stencil, please create a new issue and ensure the template is fully filled out.
Hey folks, this should be fixed in v2.13.0 of Stencil, which was just released with Jest 27 support. I'm going to close this issue for now, but if this comes up again, please feel free to file a new ticket!
Activity
antoniosZ commentedon Jun 18, 2021
I get
splitinfinities commentedon Aug 3, 2021
Hi Tally! We're working on this now, just wanted to let you know! When we have next steps, we'll loop you in. Thank you so much for the patience!
ionitron-bot commentedon Sep 2, 2021
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Stencil, please create a new issue and ensure the template is fully filled out.
Thank you for using Stencil!
rwaskiewicz commentedon Sep 3, 2021
Hey ionitron-bot, we didn't mean to close this. Bad bot!
rwaskiewicz commentedon Jan 4, 2022
#3189 includes support for Jest 27, and will be included in the next minor release of Stencil (v2.13.0)
rwaskiewicz commentedon Jan 24, 2022
Hey folks, this should be fixed in v2.13.0 of Stencil, which was just released with Jest 27 support. I'm going to close this issue for now, but if this comes up again, please feel free to file a new ticket!