Update unit test.

This commit is contained in:
Bryan Mauger 2022-11-08 11:49:04 -05:00
parent 760e49402b
commit 68c500bf72

View file

@ -53,7 +53,7 @@ describe("textboxQuestion.vue", () => {
expect(paragraph.attributes("class")).toContain("rounded-pill"); expect(paragraph.attributes("class")).toContain("rounded-pill");
}); });
it.only("Should return text-center class", async () => { it.only("Should return form-control class", async () => {
// Act // Act
const wrapper = shallowMount(textboxQuestion, { const wrapper = shallowMount(textboxQuestion, {
global: { global: {
@ -70,7 +70,7 @@ describe("textboxQuestion.vue", () => {
// Assert // Assert
const paragraph = wrapper.find("input"); const paragraph = wrapper.find("input");
expect(paragraph.attributes("class")).toContain("text-center"); expect(paragraph.attributes("class")).toContain("form-control");
}); });
it("Should render the 'questionText' data value as the label text when disableAutoFill is false.", async () => { it("Should render the 'questionText' data value as the label text when disableAutoFill is false.", async () => {