code-server/ci/dev/test.sh

14 lines
199 B
Bash
Raw Normal View History

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