diff options
Diffstat (limited to 'packages/taler-integrationtests/scenario')
-rwxr-xr-x | packages/taler-integrationtests/scenario | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/taler-integrationtests/scenario b/packages/taler-integrationtests/scenario new file mode 100755 index 000000000..a0050258e --- /dev/null +++ b/packages/taler-integrationtests/scenario @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +# Simple test runner for the wallet integration tests. +# +# Usage: $0 TESTGLOB +# +# The TESTGLOB can be used to select which test cases to execute + +set -eu + +if [ "$#" -ne 1 ]; then + echo "Usage: $0 SCENARIO" + exit 1 +fi + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" + +cd $DIR + +./node_modules/.bin/tsc + +export ESM_OPTIONS='{"sourceMap": true}' + +file=lib/scenario-$1.js + +exec node -r source-map-support/register -r esm $file |