mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 17:51:16 +08:00
Upgrade QUnit to latest version
This commit is contained in:
@ -52,6 +52,8 @@ d.write('<script src="/javascripts/ace/ace.js"></script>');
|
||||
d.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>');
|
||||
d.write('<style>#ember-testing-container { position: absolute; background: white; bottom: 0; right: 0; width: 640px; height: 384px; overflow: auto; z-index: 9999; border: 1px solid #ccc; } #ember-testing { zoom: 50%; }</style>');
|
||||
|
||||
Ember.Test.adapter = window.QUnitAdapter.create();
|
||||
|
||||
Discourse.rootElement = '#ember-testing';
|
||||
Discourse.setupForTesting();
|
||||
Discourse.injectTestHelpers();
|
||||
|
Reference in New Issue
Block a user