mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:19:27 +08:00
DEV: Load plugins in theme tests (#13028)
Some themes/components depend on plugins, and it would be impossible to write tests for those themes without installing/loading the plugins they depend on.
This commit is contained in:
parent
e8f6e00dc9
commit
cf6b823a2d
|
@ -13,6 +13,9 @@
|
|||
<%= preload_script "pretty-text-bundle" %>
|
||||
<%= preload_script "markdown-it-bundle" %>
|
||||
<%= preload_script "application" %>
|
||||
<%- Discourse.find_plugin_js_assets(include_official: allow_plugins?, include_unofficial: allow_third_party_plugins?, request: request).each do |file| %>
|
||||
<%= preload_script file %>
|
||||
<%- end %>
|
||||
<%= preload_script "admin" %>
|
||||
<%= preload_script "discourse/tests/theme_qunit_helper" %>
|
||||
<%= theme_translations_lookup %>
|
||||
|
|
Loading…
Reference in New Issue
Block a user