mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Upgrade QUnit to latest version
This commit is contained in:
@@ -7,8 +7,8 @@ export function componentTest(name, opts) {
|
||||
test(name, function(assert) {
|
||||
initializer.initialize(this.registry);
|
||||
|
||||
if (opts.setup) {
|
||||
opts.setup.call(this);
|
||||
if (opts.beforeEach) {
|
||||
opts.beforeEach.call(this);
|
||||
}
|
||||
|
||||
andThen(() => this.render(opts.template));
|
||||
|
||||
Reference in New Issue
Block a user