Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

node_tests: Use assert.fail.

Anders Kaseorg0d4c142f0bd2
diff --git a/frontend_tests/node_tests/message_store.js b/frontend_tests/node_tests/message_store.js
index 1436cf59c9a..7acc4d9bdd9 100644
--- a/frontend_tests/node_tests/message_store.js
+++ b/frontend_tests/node_tests/message_store.js
@@ -230,7 +230,7 @@ test("errors", () => {
with_field(
pm_conversations,
"set_partner",
- () => assert(false),
+ () => assert.fail(),
() => {
pm_conversations.process_message(message);
},