Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
node tests: Break up channel tests.
Steve Howell0ffbea865082
diff --git a/frontend_tests/node_tests/channel.js b/frontend_tests/node_tests/channel.jsindex 30d3bd8603c..4058c6a813b 100644--- a/frontend_tests/node_tests/channel.js+++ b/frontend_tests/node_tests/channel.js@@ -40,7 +40,7 @@ function test_with_mock_ajax(test_params) {check_ajax_options(ajax_options);}-run_test("basics", () => {+run_test("post", () => {test_with_mock_ajax({run_code() {channel.post({});@@ -55,7 +55,9 @@ run_test("basics", () => {options.simulate_error();},});+});+run_test("patch", () => {test_with_mock_ajax({run_code() {channel.patch({});@@ -71,7 +73,9 @@ run_test("basics", () => {options.simulate_error();},});+});+run_test("put", () => {test_with_mock_ajax({run_code() {channel.put({});@@ -86,7 +90,9 @@ run_test("basics", () => {options.simulate_error();},});+});+run_test("delete", () => {test_with_mock_ajax({run_code() {channel.del({});@@ -101,7 +107,9 @@ run_test("basics", () => {options.simulate_error();},});+});+run_test("get", () => {test_with_mock_ajax({run_code() {channel.get({});