2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

DEV: fixes eslint/prettier on github actions (#10601)

This commit is contained in:
Joffrey JAFFEUX 2020-09-04 20:01:14 +02:00 committed by GitHub
parent c5b8a47901
commit 110f6ec6dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 278 additions and 280 deletions

View file

@ -15,7 +15,7 @@ widgetTest("single, not selected", {
test(assert) {
assert.ok(find("li .d-icon-far-circle:eq(0)").length === 1);
}
},
});
widgetTest("single, selected", {
@ -28,7 +28,7 @@ widgetTest("single, selected", {
test(assert) {
assert.ok(find("li .d-icon-circle:eq(0)").length === 1);
}
},
});
widgetTest("multi, not selected", {
@ -38,13 +38,13 @@ widgetTest("multi, not selected", {
this.setProperties({
option: { id: "opt-id" },
isMultiple: true,
vote: []
vote: [],
});
},
test(assert) {
assert.ok(find("li .d-icon-far-square:eq(0)").length === 1);
}
},
});
widgetTest("multi, selected", {
@ -54,11 +54,11 @@ widgetTest("multi, selected", {
this.setProperties({
option: { id: "opt-id" },
isMultiple: true,
vote: ["opt-id"]
vote: ["opt-id"],
});
},
test(assert) {
assert.ok(find("li .d-icon-far-check-square:eq(0)").length === 1);
}
},
});