zulip/frontend_tests/node_tests
Anders Kaseorg 7946da4182 node_tests: list_render: Fix init_sort argument.
In list_render.js, [...list] requires list to be an array, and
widget.set_sorting_function(...opts.init_sort) requires init_sort to
be an array.

This allows the Node tests to pass in Babel strict mode.  We currently
use loose mode for performance, and so we should test in loose mode as
well; but we must never depend on loose mode for correctness, since
individual Babel transformations may stop being applied as our browser
support baseline improves.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-28 16:10:15 -07:00
..
lib events: Add `op` field to `update_message_flags` events. 2020-08-24 12:42:03 -07:00
activity.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
alert_words.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
alert_words_ui.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
billing.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
billing_helpers.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
blueslip_stacktrace.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
bot_data.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
buddy_data.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
buddy_list.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
channel.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
color_data.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
colorspace.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
common.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
components.js toggler: Allow skipping over disabled tabs. 2020-08-04 15:48:34 -07:00
compose.js node tests: Add has_zoom_token to event.fixtures. 2020-08-16 11:37:06 -04:00
compose_actions.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
compose_fade.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
compose_pm_pill.js docs: Fix spelling errors caught by codespell. 2020-08-11 10:23:06 -07:00
compose_ui.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
composebox_typeahead.js docs: Fix capitalization of keyboard keys. 2020-08-11 10:25:53 -07:00
copy_and_paste.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
dispatch.js node fixtures: Improve realm_user__add. 2020-08-14 10:40:29 -04:00
dispatch_subs.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
drafts.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
dropdown_list_widget.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
echo.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
emoji.js node fixtures: Clean up realm_emoji data. 2020-08-05 18:07:16 +00:00
emoji_picker.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
fenced_code.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
fetch_status.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
filter.js filters: Fix has:image and avoid future issues for other has filters. 2020-08-14 16:51:26 -07:00
fold_dict.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
general.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
hash_util.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
hashchange.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
hotkey.js docs: Fix capitalization of keyboard keys. 2020-08-11 10:25:53 -07:00
i18n.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
input_pill.js docs: Fix capitalization of keyboard keys. 2020-08-11 10:25:53 -07:00
keydown_util.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
lazy_set.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
lightbox.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
list_cursor.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
list_render.js node_tests: list_render: Fix init_sort argument. 2020-08-28 16:10:15 -07:00
markdown.js docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
markdown_katex.js js: Use unminified KaTeX (and minifiy it with everything else). 2020-08-07 11:27:44 -07:00
message_edit.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
message_events.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
message_fetch.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
message_flags.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
message_list.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
message_list_data.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
message_list_view.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
message_store.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
muting.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
narrow.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
narrow_activate.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
narrow_local.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
narrow_state.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
narrow_unread.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
notifications.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
password.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
people.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
people_errors.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
pm_conversations.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
pm_list.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
poll_widget.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
popovers.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
presence.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
reactions.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
recent_senders.js recent_topics: Renaming confusingly named deletion handlers. 2020-08-06 12:00:30 -07:00
recent_topics.js recent_topics: Renaming confusingly named deletion handlers. 2020-08-06 12:00:30 -07:00
rendered_markdown.js markdown: Add copy-to-clipboard button in codeblocks. 2020-08-26 23:18:05 -07:00
rtl.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
schema.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
scroll_util.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
search.js docs: Fix capitalization of keyboard keys. 2020-08-11 10:25:53 -07:00
search_legacy.js docs: Fix capitalization of keyboard keys. 2020-08-11 10:25:53 -07:00
search_pill.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
search_suggestion.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
search_suggestion_legacy.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
server_events.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
settings_bots.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
settings_data.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
settings_emoji.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
settings_muting.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
settings_org.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
settings_profile_fields.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
settings_user_groups.js refactor: Extract `set_up_typeahead_on_pills` to a new file. 2020-08-04 15:58:12 -07:00
spoilers.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
stream_data.js subscriptions: Refactor template rendering of `stream_privacy_policy`. 2020-08-04 15:48:35 -07:00
stream_events.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
stream_list.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
stream_search.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
stream_sort.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
stream_topic_history.js stream_topic_history: Update max msg id of stream post msg deletion. 2020-08-04 15:29:03 -07:00
submessage.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
subs.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
support.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
timerender.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
top_left_corner.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
topic_generator.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
topic_list_data.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
transmit.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
typeahead.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
typeahead_helper.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
typing_data.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
typing_status.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
ui.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
ui_init.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
unread.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
upgrade.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
upload.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
user_events.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
user_groups.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
user_pill.js refactor: Extract `set_up_typeahead_on_pills` to a new file. 2020-08-04 15:58:12 -07:00
user_status.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
util.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
vdom.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
widgetize.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
zblueslip.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
zjquery.js docs: Fix spelling errors caught by codespell. 2020-08-11 10:23:06 -07:00