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
{{ message }}
Repository navigation
KCD Migration (jest--> vitest): Migrate Jest to vitest and use native config instead of kcd-scripts i #405
changed the title [-]Migrate Jest config away from kcd-scripts in favor of native configuration[/-][+]KCD Migration (jest): Migrate Jest config away from kcd-scripts in favor of native configuration[/+]on Jan 25, 2026
Sure, I can try it out. But I'll note that a lot of projects -including almost all of mine- have moved to Vitest. Vitest is more actively maintained and IME works a lot more smoothly than Jest these days. I've had a lot of pain trying to get Jest to work on modern Node.js - then found it easier to just switch to Vitest most of the time. If this ends up being a big pain too, would you be open to that?
@JoshuaKGoldberg i trust your judgement here as I am also learning here (from you!) and others. I don't have opinions about node tooling yet but I do know that fighting with older tooling is not worth it!
If you think vitest is better / and it's more actively maintained, we should move. I also did a quick search on it and it sounds like vitest is easier to configure and maybe faster? So i'm all for that.
Now is the perfect time to migrate given so many things are already broken anyway. So let's migrate!
changed the title [-]KCD Migration (jest): Migrate Jest config away from kcd-scripts in favor of native configuration[/-][+]KCD Migration (jest--> vitest): Migrate Jest to vitest and use native config instead of kcd-scripts i[/+]on Jan 29, 2026
Absolutely! 404 is merged now, so please update away!! It's so tricky to scope PRs now because one pr affects the other, with so many changes and updates to make! 🙃
Activity
lwasser commentedon Jan 25, 2026
@JoshuaKGoldberg are you open to working on the JEST migration? I'll open other issues if you have a preference; if not, let's start here.
[-]Migrate Jest config away from kcd-scripts in favor of native configuration[/-][+]KCD Migration (jest): Migrate Jest config away from kcd-scripts in favor of native configuration[/+]JoshuaKGoldberg commentedon Jan 27, 2026
Sure, I can try it out. But I'll note that a lot of projects -including almost all of mine- have moved to Vitest. Vitest is more actively maintained and IME works a lot more smoothly than Jest these days. I've had a lot of pain trying to get Jest to work on modern Node.js - then found it easier to just switch to Vitest most of the time. If this ends up being a big pain too, would you be open to that?
lwasser commentedon Jan 29, 2026
@JoshuaKGoldberg i trust your judgement here as I am also learning here (from you!) and others. I don't have opinions about node tooling yet but I do know that fighting with older tooling is not worth it!
If you think vitest is better / and it's more actively maintained, we should move. I also did a quick search on it and it sounds like vitest is easier to configure and maybe faster? So i'm all for that.
Now is the perfect time to migrate given so many things are already broken anyway. So let's migrate!
[-]KCD Migration (jest): Migrate Jest config away from kcd-scripts in favor of native configuration[/-][+]KCD Migration (jest--> vitest): Migrate Jest to vitest and use native config instead of kcd-scripts i[/+]lwasser commentedon Jan 29, 2026
I updated the issue title!!
JoshuaKGoldberg commentedon Jan 30, 2026
Sweet! I'm still projecting to be able to get to this next week. 🚀
lwasser commentedon Jan 31, 2026
Wonderful. Thank you!!
JoshuaKGoldberg commentedon Jan 31, 2026
Nice-to-have: I'd like to treat this as blocked on #404. That way it'll be easier to switch from
eslint-plugin-jestto@vitest/eslint-plugin.lwasser commentedon Jan 31, 2026
Absolutely! 404 is merged now, so please update away!! It's so tricky to scope PRs now because one pr affects the other, with so many changes and updates to make! 🙃
lwasser commentedon Feb 13, 2026
closed via #436