Tilted sphere with longitudinal stripes Modern Web Guides Docs Blog Toggle darkmode

Reporters: Summary

Mocha-style summary reporter for Web Test Runner

Configuration

Web test runner summary reporter accepts a single option:

OptionTypeDefaultDescription
flattenbooleanfalseWhen true, reports the full suite name on each line

Example

import { summaryReporter } from '@web/test-runner';

export default {
  nodeResolve: true,
  reporters: [summaryReporter()],
};