News for hackers. Stuff that matters.
Re:Jest not recommended to be used in Node.js due to instanc... by c-hendricks on Saturday July 01, 2023 @12:05PM (#36551565)
You 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)

Re:Jest not recommended to be used in Node.js due to instanc... by jeffkeen on Saturday July 01, 2023 @01:33PM (#36552597)
oh thanks for that tip!
Re:Jest not recommended to be used in Node.js due to instanc... by c-hendricks on Saturday July 01, 2023 @04:04PM (#36554494)
Missed the edit window, but looks like I'm outdated: vitest does support node's debugger

https://vitest.dev/guide/debugging.html