mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-30 16:50:10 -04:00
ES6: Tests
This commit is contained in:
parent
3b46b5ecbf
commit
b8bfbcb3cb
19 changed files with 7 additions and 0 deletions
test/javascripts
controllers
avatar-selector-test.js.es6create-account-test.js.es6discourse-test.js.es6flag-test.js.es6header-test.js.es6notification-test.js.es6notifications-test.js.es6search-test.js.es6site-map-category-test.js.es6site-map-test.js.es6topic-test.js.es6user-dropdown-test.js.es6
integration
header-test.js.es6static-test.js.es6topic-discovery-test.js.es6topic-test.js.es6unknown-test.js.es6user-test.js.es6
test_helper.js
|
@ -114,3 +114,10 @@ QUnit.testDone(function() {
|
|||
Ember.run.debounce = origDebounce;
|
||||
window.sandbox.restore();
|
||||
});
|
||||
|
||||
// Load ES6 tests
|
||||
Ember.keys(requirejs.entries).forEach(function(entry) {
|
||||
if ((/\-test/).test(entry)) {
|
||||
require(entry, null, null, true);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue