jest json5 transformer
npm install json5-jestfor jest >= 28
```
$ npm i -D json5-jest
for jest <= 27
``
$ npm i -D json5-jest@1
json
"jest": {
"transform": {
"^.+\\.json5$": "json5-jest"
}
}
`or append to jest.config.js
`js
module.exports = {
transform: {
"^.+\\.json5$": "json5-jest"
}
};
``