Update unit test.
This commit is contained in:
parent
760e49402b
commit
68c500bf72
1 changed files with 2 additions and 2 deletions
|
|
@ -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 () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue