zulip/frontend_tests/zjsunit
Steve Howell b8b2e31463 zjsunit: Require explicit set_global for overrides.
This forces us to more explicitly document at the
top of the file what dependencies we are stubbing,
plus it's less magical.

Also, we may want to do occasional audits of
set_global to clean up places where we mock
things like stream_data, which are probably just
easier to use the real version of now that we
have cleaner APIs to set up stream data.

The modules most affected by this change are our
dispatch-oriented tests--basically, all the
modules that test handling of Zulip events
plus hotkey.js.
2020-07-26 09:25:40 -04:00
..
finder.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
handlebars.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
i18n.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
index.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
markdown_assert.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
mdiff.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
namespace.js zjsunit: Require explicit set_global for overrides. 2020-07-26 09:25:40 -04:00
stub.js eslint: Replace sort-imports with import/order. 2020-07-24 09:42:56 -07:00
zblueslip.js js: Reformat with Prettier. 2020-07-17 14:31:25 -07:00
zjquery.js js: Use ES6 object literal shorthand syntax. 2020-07-21 12:42:22 -07:00