/reporters

A collection of reporters for `node:test`

Primary LanguageJavaScriptMIT LicenseMIT

tests codecov

reporters

A collection of reporters for node:test

Usage

node --test \
  --test-reporter=@reporters/github --test-reporter-destination=stdout \
  --test-reporter=@reporters/junit --test-reporter-destination=junit.xml \
  --test-reporter=spec --test-reporter-destination=stdout

Available reporters:

  • github - report to github actions
  • jUnit - report to jUnit
  • silent - a silent reporter
  • bail - bail on first failure
  • testwatch - An interactive REPL for node:test watch mode.