CSR-803 ish: prettier formatting updates

This commit is contained in:
Adam Caouette 2022-12-21 11:24:49 -05:00
parent 55c67333bc
commit a93c1c6740
2 changed files with 8 additions and 9 deletions

View file

@ -15,7 +15,7 @@ describe("buttonMain.vue", () => {
})
);
const button = wrapper.find("button");
// Assert
expect(button.attributes("class")).toContain("btn-primary");
});
@ -51,7 +51,7 @@ describe("buttonMain.vue", () => {
// Act
wrapper.vm.clicked();
await nextTick();
// Assert
const loader = wrapper.find("loader-stub");
expect(loader.attributes("class")).toContain("blue");
@ -68,11 +68,11 @@ describe("buttonMain.vue", () => {
},
})
);
// Act
wrapper.vm.clicked();
await nextTick();
// Assert
const loader = wrapper.find("loader-stub");
expect(loader.attributes("class")).toContain("right");

View file

@ -9,8 +9,8 @@ describe("loader.vue", () => {
});
// Assert
expect(wrapper.find('div').exists()).toBeTruthy();
expect(wrapper.find('.loader').exists()).toBeTruthy();
expect(wrapper.find("div").exists()).toBeTruthy();
expect(wrapper.find(".loader").exists()).toBeTruthy();
});
test("if it correctly passed props", () => {
@ -18,7 +18,7 @@ describe("loader.vue", () => {
const wrapper = shallowMount(loader, {
props: {
loaderColor: "blue",
loaderPosition: "left"
loaderPosition: "left",
},
});
@ -28,5 +28,4 @@ describe("loader.vue", () => {
loaderPosition: "left",
});
});
});
});