From 9610a9c6ac065730ea757a43e74e5f5bdf2363d9 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Fri, 12 Nov 2021 19:19:46 +0100 Subject: [PATCH] js test --- apps/remix-ide/ci/lint.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/apps/remix-ide/ci/lint.sh b/apps/remix-ide/ci/lint.sh index 49c0c92c82..de3445017d 100755 --- a/apps/remix-ide/ci/lint.sh +++ b/apps/remix-ide/ci/lint.sh @@ -6,17 +6,11 @@ BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}} echo "$BUILD_ID" TEST_EXITCODE=0 -npm run build:e2e -KEYS=$(jq -r '.projects | keys' workspace.json | tr -d '[],"') -# add .js to every key -KEYS=$(echo $KEYS | sed 's/\(.*\)/\1.js/') -# keys to array -KEYS=($KEYS) - +KEYS=$(jq -r '.projects | keys | map(. + ".js") ' workspace.json | tr -d '[],"') +# add .js to all elements in array KEYS TESTFILES=$(echo $KEYS | circleci tests split) echo $TESTFILES - echo "$TEST_EXITCODE" if [ "$TEST_EXITCODE" -eq 1 ] then