# jest-runner-prettier
**Repository Path**: mirrors_skratchdot/jest-runner-prettier
## Basic Information
- **Project Name**: jest-runner-prettier
- **Description**: Prettier runner for Jest
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-25
- **Last Updated**: 2026-05-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://travis-ci.org/keplersj/jest-runner-prettier)
[](https://badge.fury.io/js/jest-runner-prettier)
[](https://codecov.io/gh/keplersj/jest-runner-prettier)
jest-runner-prettier
Prettier runner for Jest
## Usage
### Install
Install `jest`_(it needs Jest 21+)_ and `jest-runner-prettier`
```bash
yarn add --dev jest jest-runner-prettier
# or with NPM
npm install --save-dev jest jest-runner-prettier
```
### Add it to your Jest config
In your `package.json`
```json
{
"jest": {
"runner": "jest-runner-prettier",
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx",
"css",
"less",
"scss",
"graphql",
"md",
"markdown"
],
"testMatch": [
"**/*.js",
"**/*.jsx",
"**/*.json",
"**/*.ts",
"**/*.tsx",
"**/*.css",
"**/*.less",
"**/*.scss",
"**/*.graphql",
"**/*.md",
"**/*.markdown"
]
}
}
```
Or in `jest.config.js`
```js
module.exports = {
runner: "jest-runner-prettier",
moduleFileExtensions: [
"js",
"jsx",
"json",
"ts",
"tsx",
"css",
"less",
"scss",
"graphql",
"md",
"markdown"
],
testMatch: [
"**/*.js",
"**/*.jsx",
"**/*.json",
"**/*.ts",
"**/*.tsx",
"**/*.css",
"**/*.less",
"**/*.scss",
"**/*.graphql",
"**/*.md",
"**/*.markdown"
]
};
```
### Run Jest
```bash
yarn jest
```