It would be nice to have an autoimport in the jest config file like jest-localstorage-mock got it here.
Current config:
{
setupFiles: ['./anySetup.js']
}
Expected config:
{
setupFiles: ['jest-fetch-mock']
}
I didn't look into that any closer how to implement (maybe just a default export of a function), but I could go for a PR if that is a valid improvement.
It would be nice to have an autoimport in the jest config file like
jest-localstorage-mock
got it here.Current config:
Expected config:
I didn't look into that any closer how to implement (maybe just a default export of a function), but I could go for a PR if that is a valid improvement.