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");
|
||||
});
|
||||
|
||||
it.only("Should return text-center class", async () => {
|
||||
it.only("Should return form-control class", async () => {
|
||||
// Act
|
||||
const wrapper = shallowMount(textboxQuestion, {
|
||||
global: {
|
||||
|
|
@ -70,7 +70,7 @@ describe("textboxQuestion.vue", () => {
|
|||
// Assert
|
||||
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 () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue