TestFramework - davidkhala/node-utils GitHub Wiki

Mocha

Why Mocha

  • No configuration required
  • Smart align to nodejs (esm)

Why not mocha

JEST

Why Jest

  • It takes care both nodejs and typescript
  • It is widely used in Meta

Why not Jest

ViTest

supertest

HTTP assertions

Notes

  • Replace assert.equal with assert.strictEqual