Mocha to jest migration for eslint packages (#10716)

* migrated mocha to jest

* migrated mocha to jest - 2

* migrated mocha to jest - removed preversion hook from script

* migrated mocha to jest - 3

* migrated mocha to jest - 4

* cleanup

* review

* review
This commit is contained in:
Raja Sekar
2019-11-16 12:32:19 +01:00
committed by Nicolò Ribaudo
parent bcd181f051
commit f087cf842f
21 changed files with 63 additions and 58 deletions

View File

@@ -20,7 +20,7 @@ if [ -n "$TEST_GREP" ]; then
fi
if [ -n "$TEST_ONLY" ]; then
jestArgs+=("(packages|codemods)/.*$TEST_ONLY.*/test")
jestArgs+=("(packages|codemods|eslint)/.*$TEST_ONLY.*/test")
fi
$node node_modules/jest/bin/jest.js "${jestArgs[@]}"