1.0.0 • Published 6 years ago

jest-text-reporter v1.0.0

Weekly downloads
146
License
beerware
Repository
github
Last release
6 years ago

#Jest Text Reporter (jest-text-reporter) Jest text output reporter

Installing

npm install --save-dev jest-text-reporter

or

yarn add -D jest-text-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-text-reporter", {
        "outputdir": "test-output",
        "filename": "test-file.txt"
      }
    ]
  ]
}

Options

OptionValueDescription
outputdirstringPath to output directory
filenamestringOutput file name

Run

npm run jest or yarn jest

1.0.0

6 years ago