diff --git a/.circleci/setupAndTestWithAuthReact.sh b/.circleci/setupAndTestWithAuthReact.sh index 3f420886..e04d4b55 100755 --- a/.circleci/setupAndTestWithAuthReact.sh +++ b/.circleci/setupAndTestWithAuthReact.sh @@ -69,6 +69,8 @@ mkdir -p ~/test_report/logs mkdir -p ~/test_report/react-logs mkdir -p ~/test_report/screenshots +npm i -g mocha + echo "Running tests with React 18" # Run node server in background. if [[ "${SERVER_STARTED}" != "true" ]]; then diff --git a/.circleci/setupAndTestWithAuthReactWithDjango.sh b/.circleci/setupAndTestWithAuthReactWithDjango.sh index f62e0994..b666ab5f 100755 --- a/.circleci/setupAndTestWithAuthReactWithDjango.sh +++ b/.circleci/setupAndTestWithAuthReactWithDjango.sh @@ -71,6 +71,8 @@ mkdir -p ~/test_report/logs mkdir -p ~/test_report/react-logs mkdir -p ~/test_report/screenshots +npm i -g mocha + echo "Running tests with React 18" # Run node server in background. if [[ "${SERVER_STARTED}" != "true" ]]; then diff --git a/.circleci/setupAndTestWithAuthReactWithFlask.sh b/.circleci/setupAndTestWithAuthReactWithFlask.sh index d3dacfa8..245ae73e 100755 --- a/.circleci/setupAndTestWithAuthReactWithFlask.sh +++ b/.circleci/setupAndTestWithAuthReactWithFlask.sh @@ -71,6 +71,8 @@ mkdir -p ~/test_report/logs mkdir -p ~/test_report/react-logs mkdir -p ~/test_report/screenshots +npm i -g mocha + echo "Running tests with React 18" # Run node server in background. if [[ "${SERVER_STARTED}" != "true" ]]; then