2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-15 18:12:46 +00:00
thumbsup/scripts/record

17 lines
323 B
Bash
Executable File

#!/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