quasarframework / quasar-testing

Testing Harness App Extensions for the Quasar Framework 2.0+
https://testing.quasar.dev
MIT License
179 stars 65 forks source link

feat(jest): SWC support for jest #308

Closed glorat closed 1 year ago

glorat commented 1 year ago

What kind of change does this PR introduce? (check at least one)

Does this PR introduce a breaking change? (check one)

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

If adding a new feature, the PR's description includes:

Other information:

glorat commented 1 year ago

Some testing on a couple of projects I run. To test performance, I am using npx jest --no-cache and running a few times to get a median result.

On the smaller project on a fast machine

On a large project including component testing on a slow machine

On same project without any component testing on a slow machine

IlCallo commented 1 year ago

Hey there! I see this is still hanging here in draft mode, are you still interested in contributing?

glorat commented 1 year ago

Hey there! I see this is still hanging here in draft mode, are you still interested in contributing?

Sorry for radio silence... what's happened is that my projects have switched to vite and vitest so this is left hanging. For anyone still on webpack framework wanting to use SWC, this change is still good. But I don't think it is worth the effort anymore to make this a real plug-in enhancement. Instead, might simply be better to leave documentation on how people could switch to SWC.

IlCallo commented 1 year ago

Ok, no problem, I'll close the PR in that case Thanks for clarifying!