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.

zjquery: Remove unused validator stub.

Anders Kaseorg53719185e931
diff --git a/web/tests/lib/zjquery.cjs b/web/tests/lib/zjquery.cjs
index 1dab6048529..2251619da1c 100644
--- a/web/tests/lib/zjquery.cjs
+++ b/web/tests/lib/zjquery.cjs
@@ -130,13 +130,6 @@ function make_zjquery() {
elems.clear();
};
- zjquery.validator = {
- /* istanbul ignore next */
- addMethod() {
- throw new Error("You must create your own $.validator.addMethod stub.");
- },
- };
-
return zjquery;
}