mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:01:14 +08:00
DEV: migrate tests to async/await
This commit is contained in:
@ -10,7 +10,7 @@ componentTest("default", {
|
||||
assert.equal(subject.el().find(".d-icon-bars").length, 1);
|
||||
assert.equal(subject.el().find(".d-icon-caret-down").length, 1);
|
||||
|
||||
await subject.expandAwait();
|
||||
await subject.expand();
|
||||
|
||||
assert.equal(subject.rowByValue("create").name(), "New Category");
|
||||
}
|
||||
|
Reference in New Issue
Block a user