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