mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 06:01:43 +08:00
Revert Ember.run refactors
This reverts commit 5ca60fcb6b592524086f98279d3e4fd949598343.
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import { run } from "@ember/runloop";
|
||||
import selectKit from "helpers/select-kit-helper";
|
||||
import { acceptance } from "helpers/qunit-helpers";
|
||||
import { toggleCheckDraftPopup } from "discourse/controllers/composer";
|
||||
@ -85,7 +84,7 @@ QUnit.test("Tests the Composer controls", async assert => {
|
||||
event[mac ? "metaKey" : "ctrlKey"] = true;
|
||||
event.keyCode = 66;
|
||||
|
||||
run(() => textarea.dispatchEvent(event));
|
||||
Ember.run(() => textarea.dispatchEvent(event));
|
||||
|
||||
const example = I18n.t(`composer.bold_text`);
|
||||
assert.equal(
|
||||
|
Reference in New Issue
Block a user