mirror of
https://github.com/dnote/dnote
synced 2026-03-15 06:55:49 +01:00
12 lines
220 B
Bash
Executable file
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"
|