code-server/ci/dev/test.sh

15 lines
180 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
2020-11-04 00:24:06 +03:00
cd test/test-plugin
make -s out/index.js
cd "$OLDPWD/test"
yarn
yarn test "$@"
}
main "$@"