1.5.1 • Published 1 year ago

@blockquote/test-runner-mocha-style-reporter v1.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Mocha-style reporter for Test Runner API

Install package

npm install @blockquote/test-runner-mocha-style-reporter --save-dev

web-test-runner.config.mjs

import { defaultReporter } from '@web/test-runner';
import { mochaStyleReporter } from '@blockquote/test-runner-mocha-style-reporter';

...
  reporters: [
      defaultReporter(),
      mochaStyleReporter(),
  ],
...

Reporters: Overview

By default, the reporter will report both test results and test coverage. You can disable these reports by passing options to the mochaStyleReporter() function:

import { defaultReporter } from '@web/test-runner';
import { mochaStyleReporter } from '@blockquote/test-runner-mocha-style-reporter';

...
  reporters: [
      defaultReporter(),
      mochaStyleReporter({ reportResults: true, reportCoverage: true }),
  ],
...

Reporter for web test runner

See moder-web website for full documentation.

reporter example

1.5.1

1 year ago

1.5.0

1 year ago

1.4.1

2 years ago

1.2.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago