code-server-2/ci/dev/test.sh

14 lines
168 B
Bash
Raw Normal View History

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