WebUI: Add type check and other nits to some cr.ui.* unittest
Nits addressed: - Add type check. - Remove "#export" markup. - Use Object.assign() to export test functions to global scope. Files updated: - command_test.m.js - event_target_test.m.js - cr_test.m.js (removed as it's redundant with //test/data/webui/js/cr_test.js) Bug: 1133198 Change-Id: I808675afb4419a97252fe355ed7f7b2c6f0705fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505700 Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:dpapad <dpapad@chromium.org> Auto-Submit: Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/master@{#822136}
Showing
Please register or sign in to comment