Anders Kaseorg
63c9296d53
tests: Fix direct mutation of ES modules.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-08-04 18:00:38 -07:00
Aman Agrawal
7b6d549604
compose_pm_pill: Fix `compose_recipient` being mocked but not used.
...
While running test for `compose_pm_pill` we get warning that
`compose_recipient` is mocked but never used.
This bug was introduced in #26052 .
2023-07-03 21:48:58 -07:00
Lalit
e1ef8c623c
compose_pm_pill: Cut dependency on compose_recipient.js.
2023-06-19 16:54:28 -07:00
evykassirer
19d5fedfd2
compose: Move functions around to reduce circular imports.
2023-04-27 17:04:19 -07:00
Anders Kaseorg
2a70c11c5f
eslint: Fix unicorn/prefer-spread.
...
This was initially disabled for IE/Babel-related reasons that no
longer apply.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-03-02 12:16:56 -08:00
Anders Kaseorg
cea1119423
node_tests: Move to web/tests.
...
This lets us simplify the long-ish ‘../../static/js’ paths, and will
remove the need for the ‘zrequire’ wrapper.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-02-23 16:04:17 -08:00