Skip to content

Commit

Permalink
Use absolute path for mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pbulawa committed Oct 25, 2023
1 parent 3749dba commit a0ef33e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/container/test_component.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ else
export PATH=$WORKSPACE/node_modules/mocha/bin:$PATH
fi
cp $SOURCE_ROOT/ci/container/package.json .
npm install -g
npm install

PACKAGE_NAME=$(cd $WORKSPACE && ls snowflake-sdk*.tgz)
npm install $WORKSPACE/${PACKAGE_NAME}
Expand Down Expand Up @@ -74,7 +74,7 @@ if [[ "$SHOULD_GENERATE_COVERAGE_REPORT" == "1" ]];
)
else
MOCHA_CMD=(
"node" "mocha" "--timeout" "$TIMEOUT" "--recursive" "--full-trace"
"node" "$WORKSPACE/node_modules/mocha/bin/mocha.js" "--timeout" "$TIMEOUT" "--recursive" "--full-trace"
)
fi

Expand Down

0 comments on commit a0ef33e

Please sign in to comment.