From b21ad8056383c231b144b3fc4c236ac73ce582cf Mon Sep 17 00:00:00 2001 From: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> Date: Tue, 5 Nov 2019 08:29:34 -0500 Subject: [PATCH] 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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 00b59c7a99..cbbc5f7e00 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "test:search-indexing": "jest ./search-indexing", "test:server": "cd ./api-server && npm test && cd ../", "test:tools": "jest ./tools", - "test:utils": "jest ./utils/*.js" + "test:utils": "jest --rootDir ./utils" }, "devDependencies": { "@freecodecamp/eslint-config": "^2.0.2",