Files
flipper/desktop/scripts/jest-setup-after.js
Michel Weststrate 4dde5b4508 Unmount React tree automatically in tests
Summary: In the next diff, tests started to fail suddenly, probably as side effect of a changed module loading order or smthg, and started showing DOMs of different tests in test results. Figured that testing-library/react + jest doesn't automatically doesn't clean up the DOM as I hoped it would

Reviewed By: timur-valiev

Differential Revision: D32463402

fbshipit-source-id: 48d26badf774482e7320632e486dfc6358946484
2021-11-17 02:40:29 -08:00

975 B