logoalt Hacker News

simantel • yesterday at 4:35 AM • 1 reply • view on HN

FWIW Node now has node:test, but yeah you still need dependencies for linting and type checking.


Replies

hungryhobbit • yesterday at 4:44 PM

They made some really terrible, non-standard decisions with node:test though. It's a real letdown for me.

You'd think unit testing would be the most already-solved problem in the world: just copy what Jest, Mocha, Vitest, etc. do ... and you're done.

Instead they left out major features and implemented other features in really strange "why are you reinventing the wheel" ways :(

➕ show 1 reply