Skip to content

v1.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 02 Oct 08:48
· 3 commits to main since this release

Improvements

  • Treat subtests (t.test()) and context hooks (t.beforeEach(), etc.) like imported tests and hooks 25d9cdc
  • Read test titles, options, and callbacks the way node:test does d668d9f
  • Check test, suite, and hook callbacks that are defined elsewhere and passed by name 2032ec0
  • Support getTestContext() 44f5dc5
  • Make autofixes safer: they no longer remove comments or change behavior in edge cases 062b676
  • Improve performance 682bc8f

Fixes

  • Fix many false positives and false negatives across most rules

v0.4.0...v1.0.0