Gimme the short report.

This reporter only outputs failed tests and is the default TestReporter used by the as-pect cli. It can be used directly from the configuration file.

const { SummaryReporter } = require("@as-pect/core");

// export your configuration
module.exports = {
  reporter: new SummaryReporter({
    // enableLogging: false, // disable logging

It can also be used from the cli using the --summary flag.

npx asp --summary
npx asp --summary=enableLogging=false

Note: When using parameters for the builtin reporters, the = is required to parse the querystring parameters correctly.

Last updated