zulip/frontend_tests/zjsunit
Steve Howell 3d1aae6253 zjsunit: Optionally exercise template code.
If you call mock_template(fn, true), we will
call the actual template code and pass it to your
stub for verification.

We make this opt-in to prevent false positives
on template line coverage.

We special-case our handling of static/js/templates.js,
since it's important that all of our tests have
the Zulip-specific handlers for Handlebars pre-registered.

This runs in roughly the same amount of time as the
previous commit.
2021-06-15 12:33:26 -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 zjsunit: Optionally exercise template code. 2021-06-15 12:33:26 -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: Clear page_params at start of run_test. 2021-04-03 15:03:00 -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