Skip to content
beater reporter interface for TypeScript
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.gitignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json
tsconfig.json

README.md

beater-reporter

beater reporter interface for TypeScript.

See: bouzuya/beater README.

Note:

  • beater-reporter@>=2.0 <3.0 ... beater@>=7.0 <8.0
  • beater-reporter@>=1.0 <2.0 ... beater@>=5.0 <7.0
  • beater-reporter@>=0.4 <1.0 ... beater@>=0.4 <5.0
  • beater-reporter@>=0.3 <0.4 ... beater@<0.4
  • beater-reporter@<0.3 is beater default reporter implementation (is not interface). bouzuya/beater-cli default reporter moved into bouzuya/beater-cli-reporter.

Installation

$ npm install --save-dev beater-reporter

Usage

// index.ts
import { runWithOptions } from 'beater';
import { TestReporter } from 'beater-reporter';

const reporter: TestReporter = () => {
  /* ... */
};

const test1 = test(/* ... */);
runWithOptions({ reporter: reporter() })([test1]).catch(() => process.exit(1));

Badges

NPM Travis CI

License

MIT

Author

bouzuya <m@bouzuya.net> (https://bouzuya.net/)

You can’t perform that action at this time.