0.3.18 • Published 4 years ago
unmock-jest v0.3.18
unmock-jest
Jest reporter for Unmock.
Read full documentation at unmock.io.
Installation
npm i unmock-jest -D
// or
yarn add unmock-jest -D
Usage
In your Jest configuration, add "unmock-jest/reporter"
as reporter:
// jest.config.js
{
reporters: ["default", "unmock-jest/reporter"]
}
Then run your tests and a report is generated.
Note that unmock
must also be installed.
Configuration
You can define options in the reporter configuration:
// jest.config.js
{
reporters: [
"default",
[ "unmock-jest", { outputDirectory: "reports" } ]
]
}
Following options are available:
Reporter Config Name | Description | Default |
---|---|---|
outputDirectory | Directory to save the output | "__unmock__/" |
outputFilename | File name for the output | "unmock-report.html" |
0.3.18
4 years ago
0.3.17
4 years ago
0.3.16
4 years ago
0.3.15
4 years ago
0.3.14
4 years ago
0.3.13
4 years ago
0.3.12
4 years ago
0.3.11
4 years ago
0.3.10
5 years ago
0.3.9
5 years ago
0.3.8
5 years ago
0.3.7
5 years ago
0.3.6
5 years ago
0.3.5
5 years ago
0.3.4
5 years ago
0.3.3
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.2
5 years ago