/jest-mario-reporter

Mario Reporter for Jest

Primary LanguageJavaScriptMIT LicenseMIT

Mario Jest Reporter (jest-mario-reporter)

Mario Reporter for Jest, based on Mocha's version

Build Status Dependencies devDependencies

Installing

npm install --save-dev jest-mario-reporter

or

yarn add -D jest-mario-reporter

Getting Started

To use this reporter you will need to have an Jest test environment set up. In your package.json add new reporter:

"jest": {
  "bail": false,
  "reporters": ["default", ["<rootDir>/node_modules/jest-mario-reporter", {} ]]
}

Run

npm run jest or yarn jest

When all tests pass you will hear Mario music ;) On failed tests you will see ASCII code + hear sound effect from Mario.

Windows users

You need "mplayer" installed on your system

Tip: Copy mplayer.exe into folder with package.json

LICENSE

MIT