Skip to content

Commit

Permalink
re-add api runFeature.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
martdo02 committed Jan 8, 2024
1 parent ad7e1fe commit 2fbd4c8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/api/runFeature.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
AWSENV='LOCALSTACK'
mkdir -p test/report
if [[ "$ENVIRONMENT" == "COVERAGE" ]]; then
npx nyc --reporter=lcov --reporter=text cucumber-js $EXTRAS -f json:test/report/aws.json --require "stepDefinitions/*.js" features/$*
else
npx cucumber-js $EXTRAS -f json:test/report/aws.json --require "stepDefinitions/*.js" features/$*
fi
result=$?
npx multiReport
exit $result

0 comments on commit 2fbd4c8

Please sign in to comment.