https://github.com/pierreroth64/jest-spec-reporter
Simple spec reporter for jest
https://github.com/pierreroth64/jest-spec-reporter
javascript jest reporter spec
Last synced: 6 months ago
JSON representation
Simple spec reporter for jest
- Host: GitHub
- URL: https://github.com/pierreroth64/jest-spec-reporter
- Owner: pierreroth64
- License: mit
- Created: 2017-10-02T12:56:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T03:57:17.000Z (almost 3 years ago)
- Last Synced: 2025-03-19T04:14:10.967Z (7 months ago)
- Topics: javascript, jest, reporter, spec
- Language: JavaScript
- Size: 741 KB
- Stars: 4
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Spec reporter for jest [](https://travis-ci.org/pierreroth64/jest-spec-reporter) [](https://badge.fury.io/js/jest-spec-reporter) [](https://www.npmjs.com/package/jest-spec-reporter) [](https://github.com/prettier/prettier)
## Installation
You may install this package as a development dependency:
```bash
npm install --save-dev jest-spec-reporter
```## Configuration
Configure [Jest](https://facebook.github.io/jest/docs/en/configuration.html) to use the reporter.
For example, create a `jest.config.js` file containing:
```javascript
module.exports = {
verbose: false,
testPathIgnorePatterns: ["/node_modules/"],
reporters: ["jest-spec-reporter"]
};
```You can checkout the expected output:
```bash
git clone https://github.com/pierreroth64/jest-spec-reporter.git
cd jest-spec-reporter
npm install
npm run example
```