mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 20:18:23 -05:00
@@ -1,4 +1,3 @@
|
||||
import { run } from "@ember/runloop";
|
||||
import startApp from "wizard/test/helpers/start-app";
|
||||
|
||||
var wizard;
|
||||
@@ -8,7 +7,7 @@ QUnit.module("Acceptance: wizard", {
|
||||
},
|
||||
|
||||
afterEach() {
|
||||
run(wizard, "destroy");
|
||||
Ember.run(wizard, "destroy");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { run } from "@ember/runloop";
|
||||
import Wizard from "wizard/wizard";
|
||||
import initializer from "wizard/initializers/load-helpers";
|
||||
|
||||
@@ -6,7 +5,7 @@ let app;
|
||||
let started = false;
|
||||
|
||||
export default function() {
|
||||
run(() => (app = Wizard.create({ rootElement: "#ember-testing" })));
|
||||
Ember.run(() => (app = Wizard.create({ rootElement: "#ember-testing" })));
|
||||
|
||||
if (!started) {
|
||||
initializer.initialize(app);
|
||||
|
||||
Reference in New Issue
Block a user