Skip to content

Releases: paulmillr/micro-should

0.5.1

18 Jan 04:20
0.5.1
1b1e5de
Compare
Choose a tag to compare
  • Friendlier to dumb bundlers which think mshould has hard dependency on node.js internals
  • Improve edge cases in formatting

Rename opts:

  • STOP_AT_ERROR => STOP_ON_ERROR
  • MSHOULD_QUIET => QUIET (env var stays the same)
  • New FAST opt mirroring MSHOULD_FAST

Full Changelog: 0.5.0...0.5.1

0.5.0

13 Jan 02:42
0.5.0
e88477a
Compare
Choose a tag to compare
  • beforeEach, afterEach, describe.skip
  • MSHOULD_QUIET=1 - dot reporter
  • MSHOULD_FAST=1 - workers
  • should.runWhen(import.meta.url) - less code for auto running without duplicated imports
  • Improved logging
  • Workers now exit properly
  • Workers exit when ctrl-c is pressed
  • Auto disable colors in browsers
  • ESM, TS, tested in deno/bun