zulip/frontend_tests
YashRE42 db9f2eda5d node_tests: Set narrow_state instead of overriding in stream_events.
Previously, we were overriding narrow_state.is_for_stream_id() to make
sure we test the functions we intend to.

In this commit we:
  * zrequire('narrow_state')
  * set the filter to "stream:frontend" before the test cases which
    were overriding is_for_stream_id to return true (and remove the
    overrides).
  * reset_current_filter() at the end of the above cases (and remove
    the lines overriding is_for_stream_id to return false)

This is a prep commit to adding live update for sub_count in the
navbar.
2020-07-13 15:37:53 -07:00
..
casper_lib js: Use hasOwnProperty correctly or not at all. 2020-05-26 23:33:40 -07:00
casper_tests settings org: Use image_upload_widget.hbs for realm icon. 2020-06-17 17:47:49 -07:00
node_tests node_tests: Set narrow_state instead of overriding in stream_events. 2020-07-13 15:37:53 -07:00
puppeteer_lib eslint: Enable comma-dangle for functions. 2020-07-03 16:55:51 -07:00
puppeteer_tests eslint: Enable arrow-parens. 2020-07-03 16:53:39 -07:00
zjsunit node-tests: Log file name and test label on failure. 2020-07-07 10:38:11 -04:00
.eslintrc.json lint: Check eslint indentation for casper tests. 2018-05-06 19:35:18 -07:00
run-casper python: Sort imports with isort. 2020-06-11 16:45:32 -07:00