Open cycle4passion opened 5 years ago
Same problem here, as I know codesandbox has jest integration builtin, it should works out-of-box. Will dig deeper later 🤨
This is a codesandbox issue. Would you like to open an issue with them?
I believe someone has beat me to it...Thanks for looking into it.
https://codesandbox.io/s/github/kentcdodds/advanced-react-patterns-v2/tree/frontend-masters
Unmodified CodeSandbox failing all tests. Looks like React testing library problem.
ReferenceError: afterEach is not defined at evaluate (https://qzxqj5zmwq.codesandbox.io/node_modules/react-testing-library/cleanup-after-each.js:1:101)