mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Support for running theme test with Ember CLI (second attempt)
This PR includes support for running theme tests in legacy ember production envrionments.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<%
|
||||
if Rails.env.development? || Rails.env.test?
|
||||
if @force_ember_debug || Rails.env.development? || Rails.env.test?
|
||||
require_asset ("ember.debug.js")
|
||||
else
|
||||
require_asset ("ember.prod.js")
|
||||
|
||||
Reference in New Issue
Block a user