From 3010c5fd74aa27cfabc33c48a1de10b7ec90ec1b Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Fri, 22 Apr 2022 12:32:33 +0200 Subject: [PATCH] DEV: Fix `loadScript()` in ember-cli testem env (#16533) The issue affected plugin-provided scripts. --- app/assets/javascripts/discourse/testem.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/javascripts/discourse/testem.js b/app/assets/javascripts/discourse/testem.js index 3a55f8e7a57..cc8f2a3588c 100644 --- a/app/assets/javascripts/discourse/testem.js +++ b/app/assets/javascripts/discourse/testem.js @@ -80,5 +80,8 @@ if (shouldLoadPluginTestJs()) { "/assets/discourse/tests/plugin-tests.js": { target, }, + "/plugins/": { + target, + }, }; }