mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
Cleaned up QUnit test structure
This commit is contained in:
11
test/javascripts/helpers/qunit_helpers.js
Normal file
11
test/javascripts/helpers/qunit_helpers.js
Normal file
@ -0,0 +1,11 @@
|
||||
function integration(name) {
|
||||
module(name, {
|
||||
setup: function() {
|
||||
Ember.run(Discourse, Discourse.advanceReadiness);
|
||||
},
|
||||
|
||||
teardown: function() {
|
||||
Discourse.reset();
|
||||
}
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user