mirror of
https://github.com/status-im/react-native.git
synced 2025-02-22 22:28:09 +00:00
Summary: Modified the ESLint configuration to only enable the Jest environment for files we consider now tests, which are files with the `-test.js` suffix under `__tests__`. Also enabled some globals for test helpers (any file under `__tests__`). This will allow us to catch misspelled tests, while allowing test helpers to use most Jest APIs. Also disabled the Jasmine environment so people stop using Jasmine APIs and we can rollout Circus soon. Reviewed By: aaronabramov Differential Revision: D13199591 fbshipit-source-id: 12a32cf5835630b9987452b0c33d3f8085001689