dnote/scripts/server/test-local.sh
2022-04-17 10:47:43 +10:00

12 lines
220 B
Bash
Executable file

#!/usr/bin/env bash
# shellcheck disable=SC1090
# test-local.sh runs api tests using local setting
set -ex
dir=$(dirname "${BASH_SOURCE[0]}")
set -a
source "$dir/../../pkg/server/.env.test"
set +a
"$dir/test.sh" "$1"