Custom Jest reporter modeled after Mocha's "Spec" reporter.
npm i -D jest-custom-reporter
yarn add --dev jest-custom-reporter
As per Jest's documentation, specify this package as part of the reporters
array in your jest.config.js
file.
module.exports = {
reporters: [
'jest-custom-reporter',
],
}
So many things! Here are some that are on my mind:
- Migrate to TypeScript
- Custom
options
object you can pass in for different reporter styles - Also need to write tests and add examples... :D