2 ms·
I’d love to see how you use it. My encounters with jest have been painful, and it seemed unnecessarily cruel to run browser tests in node, where you couldn’t ju
by jeffkeen 3y ago
I’d love to see how you use it. My encounters with jest have been painful, and it seemed unnecessarily cruel to run browser tests in node, where you couldn’t just easily put a debugger statement in there and use the inspector to see what was going on.
- c-hendricks 3y agoYou can debug Jest tests in Chrome use node's included inspector. Ironically it's vitest that doesn't support this (IIRC, haven't checked in a minute)
- jeffkeen 3y agooh thanks for that tip!
- c-hendricks 3y agoMissed the edit window, but looks like I'm outdated: vitest does support node's debugger https://vitest.dev/guide/debugging.html https://vitest.dev/guide/debugging.html