You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
thumbsup/scripts/record

17 lines
323 B
Bash

#!/bin/bash
set -eou pipefail
# Run tests inside the integration folder
DIR="${BASH_SOURCE%/*}"
pushd "${DIR}/../test-snapshot" >/dev/null || exit
trap finish EXIT
function finish {
popd >/dev/null
}
# cleanup
rm -rf output-expected
# run thumbsup
node ../bin/thumbsup.js --config config.json --output output-expected