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: Call initialize_state() earlier.

Steve Howelldeaf633b04f3
diff --git a/frontend_tests/node_tests/typing_status.js b/frontend_tests/node_tests/typing_status.js
index 0a6f4037f76..ca86f76c2b6 100644
--- a/frontend_tests/node_tests/typing_status.js
+++ b/frontend_tests/node_tests/typing_status.js
@@ -21,13 +21,13 @@ function returns_time(secs) {
}
run_test("basics", (override) => {
+ typing_status.initialize_state();
+
// invalid conversation basically does nothing
let worker = {};
typing_status.update(worker, null);
// Start setting up more testing state.
- typing_status.initialize_state();
-
const events = {};
function set_timeout(f, delay) {