REFACTOR: Use imports for Ember.run

This commit is contained in:
Robin Ward
2019-10-29 14:52:36 -04:00
parent c7475ee03b
commit 5ca60fcb6b
151 changed files with 485 additions and 270 deletions

View File

@ -1,8 +1,9 @@
import { run } from "@ember/runloop";
import createStore from "helpers/create-store";
QUnit.module("Discourse.NavItem", {
beforeEach() {
Ember.run(function() {
run(function() {
const asianCategory = Discourse.Category.create({
name: "确实是这样",
id: 343434