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.

refactor: Rename bugdown to markdown in node_tests/markdown.js.

Mohit Gupta6667539aa736
diff --git a/frontend_tests/node_tests/markdown.js b/frontend_tests/node_tests/markdown.js
index 849ba30563e..67c580c5a06 100644
--- a/frontend_tests/node_tests/markdown.js
+++ b/frontend_tests/node_tests/markdown.js
@@ -191,9 +191,9 @@ markdown.initialize(
markdown_config.get_helpers()
);
-const bugdown_data = global.read_fixture_data('markdown_test_cases.json');
+const markdown_data = global.read_fixture_data('markdown_test_cases.json');
-run_test('bugdown_detection', () => {
+run_test('markdown_detection', () => {
const no_markup = [
"This is a plaintext message",
"This is a plaintext: message",
@@ -242,7 +242,7 @@ run_test('bugdown_detection', () => {
});
run_test('marked_shared', () => {
- const tests = bugdown_data.regular_tests;
+ const tests = markdown_data.regular_tests;
tests.forEach(function (test) {