Skip to content

A platform for community discussion. Free, open, simple.

DEV: Remove no-op autocomplete disabler (#17460)

Jarek Radoszb530781d7127
diff --git a/app/assets/javascripts/discourse/tests/setup-tests.js b/app/assets/javascripts/discourse/tests/setup-tests.js
index 3a48e08796e..efda9550313 100644
--- a/app/assets/javascripts/discourse/tests/setup-tests.js
+++ b/app/assets/javascripts/discourse/tests/setup-tests.js
@@ -295,9 +295,6 @@ export default function setupTests(config) {
sinon.stub(ScrollingDOMMethods, "screenNotFull");
sinon.stub(ScrollingDOMMethods, "bindOnScroll");
sinon.stub(ScrollingDOMMethods, "unbindOnScroll");
-
- // Unless we ever need to test this, let's leave it off.
- $.fn.autocomplete = function () {};
});
QUnit.testDone(function () {