Hacker News new | past | comments | ask | show | jobs | submit login

The good news is that one may use `expect` with Node's built-in test runner -- the result feels fairly similar to using expect with Jest.

Indeed, Node's test support can handle dynamic test creation, so one can do crazy things like https://github.com/andrewaylett/prepackage-checks/blob/main/... -- that dynamically asynchronously executes NPM builds from subdirectories, loading and running per-build expectations.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: