FIX: Load .js files from plugins in qunit testing env (PR #11304)

GitHub

Isn’t this intentionally omitted? Should only be there with transpile_js, otherwise plugins that had extra js files in there will have them in the app.

It should be DiscoursePluginRegistry.register_glob(root_path, 'js') if transpile_js I think.

The title of this pull request changed from “FIX: Load .js files correctly in DiscoursePluginRegistry” to "FIX: Load .js files from plugins in qunit testing env

This is cool, but we should be very careful it does not break plugins before the new release. In fact we might want to wait until after the release to merge it.