npm.io
1.0.11 • Published 4 years ago

jest-video-reporter

Licence
MIT
Version
1.0.11
Deps
0
Size
5 kB
Vulns
0
Weekly
13

A jest video recorder based on ffmpeg.

Installation

yarn add jest-video-reporter --dev

Usage

Configure Jest to process the test results by adding the following entry to the Jest config (jest.config.json):

"reporters": [
	"default",
	["jest-video-reporter", {
		"fileName": "result.mkv",
		"input: "0:0"
	}]
]

As you run Jest from within the terminal, a video file called result.mkv will be created within your root folder containing information about your tests.

Keywords