Open rparcus opened 6 years ago
I encountered this error when running yarn test in https://serverless-stack.com/chapters/unit-tests-in-serverless.html
yarn test
Solved it by changing the script in package.json to
"scripts": { "test": "jest --env=node" },
Oh which version of Jest were you using?
I encountered this error when running
yarn test
in https://serverless-stack.com/chapters/unit-tests-in-serverless.htmlSolved it by changing the script in package.json to