commit | 302cf29cb47d6673667940dc18f72c2f930d24fe | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Tue Aug 01 11:17:02 2023 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Tue Aug 01 09:17:57 2023 +0000 |
tree | 7a9b677b2c669c314cb74e6f54d24ad25d479284 | |
parent | 9dce875de059e92204970d7d16c4a3f50ddc4d0f [diff] |
Don't reply on EventGson as that is not bound in all environments Change-Id: I516d518c8c14fc7e97df605f4712d12fdf894fb4
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
.