Files
gerrit/polygerrit-ui/app/run_test.sh
Dmitrii Filippov be5a15a320 Get rid of WCT related code and add code required for Karma tests
This change:
* removes all WCT-related BUILD rules and updates documentation.
* removes WCT packages
* updates test utils and test methods for cleaning up data between tests
  (Karma run all tests in a single window, so after each test global
  state must be restored)

Change-Id: I922fa95f9fd63546290461f2476d12a41a7d3aa1
2020-06-29 11:24:53 +02:00

12 lines
252 B
Bash
Executable File

#!/usr/bin/env bash
bazel_bin=$(which bazelisk 2>/dev/null)
if [[ -z "$bazel_bin" ]]; then
echo "Warning: bazelisk is not installed; falling back to bazel."
bazel_bin=bazel
fi
${bazel_bin} test \
"$@" \
//polygerrit-ui:karma_test