Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error when running jest directly
``` $ jest FAIL scripts/jest/dont-run-jest-directly.js ● Test suite failed to run Don't run `jest` directly. Run `yarn test` instead. > 1 | throw new Error("Don't run `jest` directly. Run `yarn test` instead."); 2 | at Object.<anonymous> (scripts/jest/dont-run-jest-directly.js:1:96) Test Suites: 1 failed, 1 total Tests: 0 total Snapshots: 0 total Time: 0.866s Ran all test suites. ```
- Loading branch information