apply prettier on gigantic find and replace (#7604)

This commit is contained in:
Joffrey JAFFEUX
2019-05-27 10:42:53 +02:00
committed by GitHub
parent 373b8a2139
commit d93f753b17
74 changed files with 336 additions and 1024 deletions

View File

@ -25,25 +25,19 @@ componentTest("subcatgories - no selection", {
async test(assert) {
assert.equal(
this.subject
.header()
.title(),
this.subject.header().title(),
I18n.t("categories.all_subcategories")
);
await this.subject.expand();
assert.equal(
this.subject
.rowByIndex(0)
.name(),
this.subject.rowByIndex(0).name(),
I18n.t("categories.no_subcategory")
);
assert.equal(
this.subject
.rowByIndex(1)
.name(),
this.subject.rowByIndex(1).name(),
this.get("childCategories.firstObject.name")
);
}
@ -67,25 +61,19 @@ componentTest("subcatgories - selection", {
async test(assert) {
assert.equal(
this.subject
.header()
.title(),
this.subject.header().title(),
this.get("childCategories.firstObject.name")
);
await this.subject.expand();
assert.equal(
this.subject
.rowByIndex(0)
.name(),
this.subject.rowByIndex(0).name(),
I18n.t("categories.all_subcategories")
);
assert.equal(
this.subject
.rowByIndex(1)
.name(),
this.subject.rowByIndex(1).name(),
I18n.t("categories.no_subcategory")
);
}