mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 01:58:05 +08:00
REFACTOR: Use imports for Ember.run
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user