@corex/jest-require-stub
Checks whether a file exist or not during test.
Usage
{
"transform": {
"^.+.(svg|css|style|less|sass|scss|png|jpg|ttf|woff|woff2|md|mdx)$": "@corex/jest-require-stub"
}
}
Checks whether a file exist or not during test.
{
"transform": {
"^.+.(svg|css|style|less|sass|scss|png|jpg|ttf|woff|woff2|md|mdx)$": "@corex/jest-require-stub"
}
}
npm i @corex/jest-require-stub
18
2.6.148
MIT
1.66 kB
9