Tests: register watchlist-history.js in script-split integrity (#831 follow-up)
The #831 watchlist work added the standalone webui/static/watchlist-history.js (loaded in index.html) but didn't add it to NON_SPLIT_JS, so the onclick- coverage test couldn't see its functions and failed on openWatchlistHistoryModal referenced in the History button. Register it alongside its sibling origin-history.js — same fix the registry comment was added for.
This commit is contained in:
parent
931167f197
commit
e16216fc2d
1 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,8 @@ SPLIT_MODULES = [
|
|||
|
||||
# Other JS files that exist in static/ but are NOT part of the split
|
||||
NON_SPLIT_JS = {"setup-wizard.js", "docs.js", "helper.js", "particles.js", "worker-orbs.js",
|
||||
"enrichment-manager.js", "origin-history.js", "blocklist.js"}
|
||||
"enrichment-manager.js", "origin-history.js", "blocklist.js",
|
||||
"watchlist-history.js"}
|
||||
|
||||
# Pre-existing duplicate helper functions that lived in the original monolith.
|
||||
# In a plain <script> context the last-loaded declaration wins. These are NOT
|
||||
|
|
|
|||
Loading…
Reference in a new issue