zulip/web/tests/lib
Shubham Padia 89ea21f7f0 stream_data: Use user_has_permission_for_group_setting.
Before this, we were using `is_user_in_setting_group` which does not do
the extra checks around a guest user's permissions (and in future, some
other checks).
We introduced `initialize_and_override_current_user` in stream_data test
to make it easier to set current_user.user_id.
2025-02-18 12:49:05 -08:00
..
buddy_list.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
compose_banner.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
compose_helpers.cjs compose_validate test: Use FakeComposeBox for size limits. 2025-01-09 15:08:17 -08:00
events.cjs message_edit: Show typing indicator for message editing. 2025-02-12 15:08:56 -08:00
example_settings.cjs stream_data: Use user_has_permission_for_group_setting. 2025-02-18 12:49:05 -08:00
example_stream.cjs streams: Use can_administer_channel_group to administer channel. 2024-12-03 18:38:25 -08:00
example_user.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
handlebars.cjs webpack: Enable explicitPartialContext for handlebars-loader. 2024-11-15 20:41:59 -08:00
i18n.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
index.cjs node test runner: Prevent Handlebars quirks. 2025-01-07 09:43:33 -08:00
markdown_assert.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
mdiff.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
namespace.cjs templates: Convert module to TypeScript. 2024-11-27 13:52:21 -08:00
real_jquery.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
stub.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
test.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
zblueslip.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
zjquery_element.cjs eslint: Fix unicorn/explicit-length-check. (#32666) 2024-12-11 09:19:46 -08:00
zjquery_event.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
zjquery.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
zpage_billing_params.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00
zpage_params.cjs tests: Rename the Node tests to *.cjs. 2024-11-13 09:18:56 -08:00