fix: use jest --rootDir to run test (#37680)

* fix: use bash -c to call jest utils for windows

* fix: removed bash requirement

Co-Authored-By: Valeriy <ValeraS@users.noreply.github.com>
This commit is contained in:
Randell Dawson
2019-11-05 08:29:34 -05:00
committed by Valeriy
parent cb5369a582
commit b21ad80563

View File

@ -48,7 +48,7 @@
"test:search-indexing": "jest ./search-indexing", "test:search-indexing": "jest ./search-indexing",
"test:server": "cd ./api-server && npm test && cd ../", "test:server": "cd ./api-server && npm test && cd ../",
"test:tools": "jest ./tools", "test:tools": "jest ./tools",
"test:utils": "jest ./utils/*.js" "test:utils": "jest --rootDir ./utils"
}, },
"devDependencies": { "devDependencies": {
"@freecodecamp/eslint-config": "^2.0.2", "@freecodecamp/eslint-config": "^2.0.2",