YashRE42
d8ddfdb127
recent_topics: Explicitly override is_visible & is_in_focus in tests.
...
Previously, the tests relied on `recent_topics_util.is_visible`
returning false unless we used override to return true, this is
because `recent_topics_util.is_viible` would return
`$("#recent_topics_view").is(":visible");` which would always be false
since we don't create a stub for `$("#recent_topics_view")`.
This would cause the tests to fail if we changed how `is_visible`
found it's return value, which we want to do for performance reasons,
and as such, this commit adds explicit overrides where needed.
Further more, even when we do override `is_visible` as override(rt,
"is_in_focus", ...) we do not override the `is_visible` used in
`recent_topics_uttil.is_in_focus`, and so our tests stil rely on that
`is_visible` always returning false. This commit address that by also
adding explicit overrides for `is_in_focus` where needed.
2021-11-08 18:22:43 -08:00
..
2021-10-29 18:15:30 -07:00
2021-04-13 17:41:10 -07:00
2021-07-28 09:50:11 -07:00
2021-06-27 23:00:34 -04:00
2021-06-22 16:56:34 -07:00
2021-11-05 17:23:10 -07:00
2021-11-05 17:23:10 -07:00
2021-05-10 18:07:13 -07:00
2021-06-16 12:55:53 -04:00
2021-10-14 12:47:43 -07:00
2021-08-01 15:30:17 -07:00
2021-06-16 12:55:53 -04:00
2021-10-19 16:51:13 -07:00
2021-05-21 16:53:30 -07:00
2021-06-22 09:09:36 -07:00
2021-07-05 17:04:06 -07:00
2021-10-14 12:47:43 -07:00
2021-06-16 12:55:53 -04:00
2021-07-06 15:15:26 -07:00
2021-06-16 12:55:53 -04:00
2021-06-25 18:06:42 -07:00
2021-06-16 12:55:53 -04:00
2021-10-01 16:45:50 -07:00
2021-10-14 12:47:43 -07:00
2021-10-14 12:47:43 -07:00
2021-10-14 12:47:43 -07:00
2021-10-21 10:50:27 -07:00
2021-06-15 12:33:26 -04:00
2021-10-29 16:09:39 -07:00
2021-07-09 09:38:58 -07:00
2021-10-29 18:15:30 -07:00
2021-09-08 15:18:11 -07:00
2021-07-29 10:09:03 -07:00
2021-09-07 14:36:05 -07:00
2021-08-31 06:42:36 -07:00
2021-09-12 16:24:29 -07:00
2021-11-05 21:04:47 -07:00
2021-06-10 09:15:57 -07:00
2021-03-29 14:53:57 -07:00
2021-07-22 09:47:47 -04:00
2021-07-22 09:47:47 -04:00
2021-06-16 12:55:53 -04:00
2021-06-16 12:55:53 -04:00
2021-06-16 12:55:53 -04:00
2021-10-19 16:51:13 -07:00
2021-03-12 10:06:30 -08:00
2021-09-06 09:00:16 -07:00
2021-08-10 13:18:53 -07:00
2021-10-14 12:47:43 -07:00
2021-10-14 12:47:43 -07:00
2021-10-01 10:26:42 -07:00
2021-10-13 09:49:32 -07:00
2021-06-27 23:00:34 -04:00
2021-05-27 23:33:17 -07:00
2021-06-10 09:15:57 -07:00
2021-06-16 12:55:53 -04:00
2021-05-19 11:59:28 -07:00
2021-06-16 12:55:53 -04:00
2021-07-29 10:09:03 -07:00
2021-10-14 12:47:43 -07:00
2021-09-30 14:59:31 -07:00
2021-11-08 17:24:31 -08:00
2021-06-16 12:55:53 -04:00
2021-06-16 12:55:53 -04:00
2021-06-30 16:32:55 -07:00
2021-10-19 16:51:13 -07:00
2021-06-16 12:55:53 -04:00
2021-06-16 12:55:53 -04:00
2021-06-30 16:32:55 -07:00
2021-06-30 16:32:55 -07:00
2021-07-13 23:18:41 -07:00
2021-06-16 12:55:53 -04:00
2021-07-13 23:18:41 -07:00
2021-07-13 23:36:24 -07:00
2021-09-10 16:31:54 -07:00
2021-08-01 15:30:17 -07:00
2021-06-10 09:15:57 -07:00
2021-06-16 12:55:53 -04:00
2021-06-16 12:55:53 -04:00
2021-10-14 12:47:43 -07:00
2021-06-27 23:00:34 -04:00
2021-06-30 16:32:55 -07:00
2021-06-16 12:55:53 -04:00
2021-06-27 23:00:34 -04:00
2021-11-02 11:26:19 -07:00
2021-06-16 12:55:53 -04:00
2021-09-07 09:47:28 -07:00
2021-06-16 12:55:53 -04:00
2021-11-08 18:22:43 -08:00
2021-06-16 12:55:53 -04:00
2021-08-01 15:30:17 -07:00
2021-06-10 09:15:57 -07:00
2021-03-12 10:06:30 -08:00
2021-06-16 12:55:53 -04:00
2021-06-16 12:55:53 -04:00
2021-07-13 23:35:41 -07:00
2021-07-13 23:35:41 -07:00
2021-06-16 12:55:53 -04:00
2021-06-16 12:55:53 -04:00
2021-06-16 12:55:53 -04:00
2021-09-16 15:46:41 -07:00
2021-10-01 10:26:42 -07:00
2021-06-16 12:55:53 -04:00
2021-07-09 10:00:45 -07:00
2021-07-09 10:00:45 -07:00
2021-10-07 10:12:10 -07:00
2021-06-27 23:00:34 -04:00
2021-07-14 14:38:44 -07:00
2021-06-16 12:55:53 -04:00
2021-08-01 15:30:17 -07:00
2021-10-19 16:51:13 -07:00
2021-08-01 15:30:17 -07:00
2021-09-21 10:22:33 -07:00
2021-08-01 15:30:17 -07:00
2021-04-27 12:07:57 -07:00
2021-06-16 12:55:53 -04:00
2021-07-19 10:54:11 -07:00
2021-06-16 12:55:53 -04:00
2021-06-29 10:00:52 -07:00
2021-06-16 12:55:53 -04:00
2021-06-16 12:55:53 -04:00
2021-06-15 12:33:26 -04:00
2021-09-15 17:19:39 -07:00
2021-06-25 18:01:15 -07:00
2021-06-30 16:32:55 -07:00
2021-07-05 18:02:40 -07:00
2021-06-16 12:55:53 -04:00
2021-06-27 23:00:34 -04:00
2021-03-25 02:08:51 -07:00
2021-06-30 16:32:55 -07:00
2021-10-07 16:32:08 -07:00
2021-06-16 12:55:53 -04:00
2021-08-04 12:06:11 -07:00
2021-11-05 17:23:10 -07:00
2021-10-14 12:47:43 -07:00
2021-09-16 15:46:40 -07:00
2021-04-27 12:07:57 -07:00
2021-09-16 13:11:03 -07:00
2021-10-14 12:47:43 -07:00
2021-06-30 16:32:55 -07:00
2021-07-28 09:50:11 -07:00
2021-10-14 12:47:43 -07:00
2021-06-10 09:15:57 -07:00
2021-06-10 09:15:57 -07:00
2021-07-24 09:52:14 -07:00
2021-09-06 12:56:35 -07:00
2021-09-06 12:56:35 -07:00