DEV: Remove unnecessary `await settled()` (#24584)
This commit is contained in:
parent
b2dfc320aa
commit
cfa7dcaf0a
|
@ -1,4 +1,4 @@
|
|||
import { click, render, settled, waitFor } from "@ember/test-helpers";
|
||||
import { click, render, waitFor } from "@ember/test-helpers";
|
||||
import hbs from "htmlbars-inline-precompile";
|
||||
import { module, test } from "qunit";
|
||||
import { setupRenderingTest } from "discourse/tests/helpers/component-test";
|
||||
|
@ -51,7 +51,6 @@ module("Discourse Chat | Component | chat-composer-uploads", function (hooks) {
|
|||
await render(hbs`
|
||||
<ChatComposerUploads @existingUploads={{this.existingUploads}} @fileUploadElementId="chat-widget-uploader" />
|
||||
`);
|
||||
await settled();
|
||||
|
||||
assert.strictEqual(count(".chat-composer-upload"), 1);
|
||||
assert.strictEqual(exists(".chat-composer-upload"), true);
|
||||
|
|
Loading…
Reference in New Issue