Socket
Socket
Sign inDemoInstall

test

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test - npm Package Versions

23

3.3.0

Diff

Changelog

Source

3.3.0 (2023-02-08)

Features

  • add --test-name-pattern CLI flag (c5fd64c)
  • add extra fields in AssertionError YAML (46dce07)
  • add getter and setter to MockTracker (b942f93)
  • add initial TAP parser (5f8ce61)
  • add reporters (1ec1348)
  • add t.after() hook (71b659e)
  • parse yaml (d1343a7)
  • report file in test runner events (10d6603)
  • support function mocking (2e499ee)
  • support programmatically running --test (d885ee2)
  • support using --inspect with --test (6755536)
  • verbous error when entire test tree is canceled (012acb0)

Bug Fixes

  • avoid swallowing of asynchronously thrown errors (cff397a)
  • call {before,after}Each() on suites (0bfdb77)
  • don't use a symbol for runHook() (b3b384e)
  • fix duration_ms to be milliseconds (27241c3)
  • fix afterEach not running on test failures (f2815af)
  • fix missing test diagnostics (b5b3f0b)
  • fix tap parser fails if a test logs a number (66da6fe)
  • include stack of uncaught exceptions (c50f844)
  • make built in reporters internal (b6177a4)
  • move test reporter loading (a5e0e9e)
  • remove stdout and stderr from error (5ba2500)
  • report tap subtest in order (08269c5)
  • run t.after() if test body throws (c80e426)
  • top-level diagnostics not ommited when running with --test (d6f071a)
nodejs-foundation
published 3.2.1 •

Changelog

Source

3.2.1 (2022-08-03)

Bug Fixes

  • make test runner work even if there is no AbortSignal support (#36) (cb2e4fd)
nodejs-foundation
published 3.2.0 •

Changelog

Source

3.2.0 (2022-08-01)

Features

  • add before/after/each hooks (4ed5d1f)
  • add support for boolean values for concurrency option (ba8fd71)
  • graceful termination on --test only (4071052)
  • pass signal on timeout (3814bf0)
  • recieve and pass AbortSignal (558abfc)
  • validate concurrency option (f875da2)
  • validate timeout option (cf78656)

Bug Fixes

  • do not report an error when tests are passing (10146fa)
  • doc: add missing test runner option (b8bc3be)
  • doc: copyedit README.md (1401584)
  • doc: fix typos in test.md (8c95f07)
  • empty pending tests queue post running (2f02171)
  • fix top level describe queuing (c6f554c)
  • test: ensure all tests are run and fix failing ones (#33) (215621e)
nodejs-foundation
published 3.1.0 •

Changelog

Source

3.1.0 (2022-07-20)

Features

  • add Subtest to tap protocol output (fc0256b)
  • cancel on termination (826048c)
  • expose describe and it (e29cd3f)
  • support timeout for tests (5b6851f)

Bug Fixes

  • catch errors thrown within describe (4ca48af)
  • ci: fix package name in release-please.yml (#25) (c132f7e)
  • doc: improve test runner timeout docs (751ffc6)
  • fix it concurrency (0a81cfc)
  • wait for stderr and stdout to complete (bee4a6a)
nodejs-foundation
published 3.0.1 •

Changelog

Source

3.0.1 (2022-06-15)

Bug Fixes

  • doc: add link to LICENSE in README (#16) (c3ca913)
nodejs-foundation
published 3.0.0 •

Changelog

Source

3.0.0 (2022-06-02)

⚠ BREAKING CHANGES

  • move to nodejs org (#9)

Features

Code Refactoring

gozala
published 0.6.0 •

gozala
published 0.5.2 •

gozala
published 0.5.1 •

gozala
published 0.4.4 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc