code-server/ci/dev/test.sh

14 lines
180 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
cd test/test-plugin
make -s out/index.js
cd "$OLDPWD/test"
yarn
yarn test "$@"
}
main "$@"