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: search: Remove dead stub.

Anders Kaseorgce880ed2b465
diff --git a/frontend_tests/node_tests/search.js b/frontend_tests/node_tests/search.js
index 792d6291acf..486d5e15808 100644
--- a/frontend_tests/node_tests/search.js
+++ b/frontend_tests/node_tests/search.js
@@ -302,13 +302,7 @@ run_test("initialize", () => {
};
searchbox.on = (event, callback) => {
- if (event === "focusin") {
- searchbox.css({"box-shadow": "unset"});
- callback();
- assert.deepEqual(searchbox.css(), {
- "box-shadow": "inset 0px 0px 0px 2px hsl(204, 20%, 74%)",
- });
- } else if (event === "focusout") {
+ if (event === "focusout") {
searchbox.css({"box-shadow": "inset 0px 0px 0px 2px hsl(204, 20%, 74%)"});
callback();
assert.deepEqual(searchbox.css(), {"box-shadow": "unset"});