Bump prettier to 1.19.1 and lock dependency (#8350)

This commit is contained in:
Martin Brennan
2019-11-16 01:07:45 +10:00
committed by Penar Musaraj
parent 16cdf94001
commit abf215a0e4
8 changed files with 42 additions and 14 deletions

View File

@ -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) {