Last 12 weeks · 0 commits
4 of 6 standards met
Hello, I'm currently working on a Solid Start library. I'm currently using tsdx to package my app and jest to test my application. Currently, I have an error when I execute tests : I have tried to get deps and files from solid ts jest template (), without success. I need help ^^ ! Code repository : https://github.com/qlaffont/solidstart-protected-auth Thanks !
Repository: solidjs/solid-jest. Description: Jest preset for SolidJS Stars: 35, Forks: 3. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Open PRs: 2, open issues: 3. Last activity: 2y ago. Community health: 75%. Top contributors: ryansolid, davedbase.
When I use the included resolver, my (few) tests take more than 7 seconds, taking a while to start running. When I use the default resolver, the tests take little over 1 second. That's a massive difference and has a real impact on how easy it is to develop with tests. The comment says: It's using https://www.npmjs.com/package/enhanced-resolve-jest which in turn uses https://github.com/webpack/enhanced-resolve I'd be interested in seeing what I'm paying for in some more detail. And maybe there's a way to configure this resolver to be faster? (I tried upgrading to 5.9.3, the latest release, but it made no difference)
Drops official support for jest 27. Since this is a breaking change, we should also increment the version to .
This PR adds support for jest 27. There are some slight changes that required tweaks. The goal of this is to 1) keep these presets up to date, and 2) support using Jest/Solid within Nx workspaces. I've added comments to the various changes with rationale. I didn't bump the package version in the package.json because I don't know how the team would like this to move. Once this package supports Jest 27, all that is needed for to also support that version is bumping the package.json :)