2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 19:09:01 +00:00
books/scripts/test.sh
18alantom 4672323dcb fix: use knex for checking values 😔
- open fd from better-sqlite3 causes stalled tests
2023-07-13 11:12:43 +05:30

9 lines
185 B
Bash
Executable File

TEST_PATH=$@
if [ $# -eq 0 ]
then
TEST_PATH=./**/tests/**/*.spec.ts
fi
export IS_TEST=true
./scripts/runner.sh ./node_modules/.bin/tape $TEST_PATH | ./node_modules/.bin/tap-spec