commit | 1f07de4a96f7a5e7660bf1d3cb5839d1bba6e722 | [log] [tgz] |
---|---|---|
author | Taylor Santiago <taylorsantiago@google.com> | Thu Sep 05 14:08:53 2024 -0700 |
committer | Taylor Santiago <taylorsantiago@google.com> | Thu Sep 05 14:15:29 2024 -0700 |
tree | afaaf7c950b2f75aa531f638a68fb14963f81208 | |
parent | b275c983af3d5e2b33d29638a113eb5823b8b313 [diff] |
Fix user lookup to take into account contextUserId. The previous commit broke lookups of contextUserId and failed unit tests. Change-Id: I6ce8d5213a6797195acc19ecf4f4f2ff154f9c38
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
.