2020-04-30 18:52:54 +07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
main() {
|
|
|
|
cd "$(dirname "$0")/../.."
|
|
|
|
|
2020-11-04 04:24:06 +07:00
|
|
|
cd test/test-plugin
|
|
|
|
make -s out/index.js
|
2020-11-04 09:53:16 +07:00
|
|
|
cd "$OLDPWD"
|
2020-10-30 10:18:07 +07:00
|
|
|
mocha -r ts-node/register ./test/*.test.ts "$@"
|
2020-04-30 18:52:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|