Skip to content

TestFramework

David Liu edited this page Jul 25, 2024 · 10 revisions

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

HTTP assertions

Notes

  • Replace assert.equal with assert.strictEqual
Clone this wiki locally