kentcdodds / advanced-react-patterns-v2

Created with CodeSandbox
https://codesandbox.io/s/github/kentcdodds/advanced-react-patterns-v2
1.51k stars 567 forks source link

Unmodified CodeSandbox failing all tests #54

Open cycle4passion opened 5 years ago

cycle4passion commented 5 years ago

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)

zcfan commented 5 years ago

Same problem here, as I know codesandbox has jest integration builtin, it should works out-of-box. Will dig deeper later 🤨

kentcdodds commented 5 years ago

This is a codesandbox issue. Would you like to open an issue with them?

cycle4passion commented 5 years ago

I believe someone has beat me to it...Thanks for looking into it.

https://github.com/CompuIves/codesandbox-client/issues/1525