mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
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.
1.0 KiB
1.0 KiB