yaml-jest
v1.2.0
Published
A YAML transform for jest
Downloads
69,799
Readme
yaml-jest
A YAML transform for Jest
Install
yarn install --dev yaml-jest
Usage
Add an entry to moduleFileExtensions
and transform
to your project's Jest config:
{
"moduleFileExtensions": ["js", "yaml"],
"transform": {
"\\.yaml$": "yaml-jest",
"\\.js?$": "babel-jest"
},
}