zulip/frontend_tests/zjsunit
Steve Howell 5e824a6d6d node tests: Only expose mock_template via run_test.
We now only expose mock_template as a helper in run_test.

This has the following advantages:

    * less boilerplate at the top of the file
    * more surgical control with setting exercise_templates
    * no more "f" hack (or render_foo consts)
    * we force devs to explicitly mock the template

See frontend_tests/zjsunit for the substantive changes.

All the changes to the tests are very mechanical in nature.
2021-06-27 23:00:34 -04:00
..
handlebars.js zjsunit: Remove unnecessary Handlebars wrapper function. 2021-06-14 12:20:56 -07:00
i18n.js i18n: Remove i18next. 2021-04-13 17:41:10 -07:00
index.js zjsunit: Optionally exercise template code. 2021-06-15 12:33:26 -04:00
markdown_assert.js eslint: Fix unicorn/no-array-for-each. 2021-01-25 14:53:19 -08:00
mdiff.js eslint: Fix unicorn/no-array-callback-reference. 2021-01-25 14:53:19 -08:00
namespace.js node tests: Only expose mock_template via run_test. 2021-06-27 23:00:34 -04:00
real_jquery.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
stub.js zjsunit: Remove with_stub helper. 2021-02-13 06:48:59 -05:00
test.js node tests: Only expose mock_template via run_test. 2021-06-27 23:00:34 -04:00
zblueslip.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
zjquery.js zjquery: Split out zjquery_element.js. 2021-06-12 12:21:44 -04:00
zjquery_element.js zjquery: Split out zjquery_element.js. 2021-06-12 12:21:44 -04:00
zjquery_event.js zjquery: Split out zjquery_element.js. 2021-06-12 12:21:44 -04:00
zpage_params.js node tests: Clear page_params at start of run_test. 2021-04-03 15:03:00 -04:00