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:
parent
c5b8a47901
commit
110f6ec6dd
18 changed files with 278 additions and 280 deletions
|
@ -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);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue