commit | b9bab3a0c4c36de55824c8544baad33e5c5c324c | [log] [tgz] |
---|---|---|
author | Chris Poucet <poucet@google.com> | Tue Oct 12 18:23:04 2021 +0200 |
committer | Chris Poucet <poucet@google.com> | Tue Oct 12 18:23:04 2021 +0200 |
tree | 934e7e9ce085a5cf8256155c3bb7abef39f98add | |
parent | 5e4c7d80d5ad7d2573f22b9190c174a4293e6cca [diff] |
Get rid of usage of private _getElement from automerger. Change-Id: Ibe463e7593ee971844bc5cb4486b26e99d6ef3ad
See src/main/resources/documentation.
For running unit tests execute:
bazel test --test_output=all //plugins/automerger/web:karma_test
For checking or fixing eslint formatter problems run:
bazel test //plugins/automerger/web:lint_test bazel run //plugins/automerger/web:lint_bin -- --fix "$(pwd)/plugins/automerger/web"
For testing the plugin with Gerrit FE Dev Helper build the JavaScript bundle and copy it to the plugins/
folder:
bazel build //plugins/automerger/web:automerger cp -f bazel-bin/plugins/automerger/web/automerger.js plugins/
and let the Dev Helper redirect from .+/plugins/automerger/static/automerger.js
to http://localhost:8081/plugins_/automerger.js
.