mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 09:22:42 +08:00
Fix Prettier using correct version (1.19.1)
This commit is contained in:
@ -11,7 +11,10 @@ moduleForComponent("combo-box", {
|
||||
componentTest("default", {
|
||||
template: "{{combo-box content=items}}",
|
||||
beforeEach() {
|
||||
this.set("items", [{ id: 1, name: "hello" }, { id: 2, name: "world" }]);
|
||||
this.set("items", [
|
||||
{ id: 1, name: "hello" },
|
||||
{ id: 2, name: "world" }
|
||||
]);
|
||||
},
|
||||
|
||||
async test(assert) {
|
||||
@ -43,7 +46,10 @@ componentTest("with valueAttribute", {
|
||||
componentTest("with nameProperty", {
|
||||
template: '{{combo-box content=items nameProperty="text"}}',
|
||||
beforeEach() {
|
||||
this.set("items", [{ id: 0, text: "hello" }, { id: 1, text: "world" }]);
|
||||
this.set("items", [
|
||||
{ id: 0, text: "hello" },
|
||||
{ id: 1, text: "world" }
|
||||
]);
|
||||
},
|
||||
|
||||
async test(assert) {
|
||||
|
Reference in New Issue
Block a user