code-server/ci/dev/test.sh

14 lines
201 B
Bash
Raw Normal View History

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