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: Silence KaTeX warning in markdown test.

Anders Kaseorgb741e758f062
diff --git a/frontend_tests/node_tests/markdown.js b/frontend_tests/node_tests/markdown.js
index f11137a0c00..c88aa7d3d94 100644
--- a/frontend_tests/node_tests/markdown.js
+++ b/frontend_tests/node_tests/markdown.js
@@ -37,8 +37,7 @@ function Image() {
}
set_global("Image", Image);
-const doc = "";
-set_global("document", doc);
+set_global("document", {compatMode: "CSS1Compat"});
const emoji = zrequire("../shared/js/emoji");
const emoji_codes = zrequire("../generated/emoji/emoji_codes.json");