2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-17 15:25:50 +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