Commit Graph

2 Commits

Author SHA1 Message Date
Steve Howell
09716c624f settings_user_topics test: Use explicit override for sorting.
In general we want to mimimize the amount of setup at the top
of a test module and just let individual tests explicitly
mock what they need to mock.

The `override` helper has the advantage that it avoids dead
code.  For example, if the way we invoked the list widget
here no longer required sorting, the unit tests would complain
about the crufty override, whereas the previous code doesn't
really have that kind of future-proofing.
2025-01-07 09:32:52 -08:00
Anders Kaseorg
687f1b1651 tests: Rename the Node tests to *.cjs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-13 09:18:56 -08:00