DEV: Fix the /tests path in ember-cli server (#15075)

DEV: Fix the /tests path in ember-cli server (#15075)

diff --git a/app/assets/javascripts/discourse/lib/bootstrap-json/index.js b/app/assets/javascripts/discourse/lib/bootstrap-json/index.js
index 8d25e0c..1938ddc 100644
--- a/app/assets/javascripts/discourse/lib/bootstrap-json/index.js
+++ b/app/assets/javascripts/discourse/lib/bootstrap-json/index.js
@@ -309,6 +309,10 @@ to serve API requests. For example:
   },
 
   shouldHandleRequest(request) {
+    if (request.path === "/tests/index.html") {
+      return false;
+    }
+
     if (request.get("Accept") && request.get("Accept").includes("text/html")) {
       return true;
     }

GitHub sha: 9105163882247668b321bf6baab960fe1d049a16

This commit appears in #15075 which was approved by pmusaraj. It was merged by CvX.