diff --git a/src/digital-components/question-chain/question-chain.spec.js b/src/digital-components/question-chain/question-chain.spec.js index 1bdc43d4a..1dad2d5de 100644 --- a/src/digital-components/question-chain/question-chain.spec.js +++ b/src/digital-components/question-chain/question-chain.spec.js @@ -266,8 +266,16 @@ describe("Question Chain component", () => { questionSequence: 3, questionText: "Laminated door glass?", answers: [ - { answerResult: "PART-C", answerText: "Yes", nextQuestionSequence: null }, - { answerResult: "PART-D", answerText: "No", nextQuestionSequence: null }, + { + answerResult: "PART-C", + answerText: "Yes", + nextQuestionSequence: null, + }, + { + answerResult: "PART-D", + answerText: "No", + nextQuestionSequence: null, + }, ], answerSelected: "3|answer|PART-C|Yes", }, @@ -275,8 +283,16 @@ describe("Question Chain component", () => { questionSequence: 5, questionText: "Factory installed antenna?", answers: [ - { answerResult: "PART-E", answerText: "Yes", nextQuestionSequence: null }, - { answerResult: "PART-F", answerText: "No", nextQuestionSequence: null }, + { + answerResult: "PART-E", + answerText: "Yes", + nextQuestionSequence: null, + }, + { + answerResult: "PART-F", + answerText: "No", + nextQuestionSequence: null, + }, ], }, ], @@ -451,7 +467,9 @@ describe("Question Chain component", () => { ); expect( wrapper.vm.questions.filter((question) => wrapper.vm.isQuestionVisible(question)) - ).not.toEqual(expect.arrayContaining([expect.objectContaining({ questionSequence: 2 })])); + ).not.toEqual( + expect.arrayContaining([expect.objectContaining({ questionSequence: 2 })]) + ); }); test("should resume at question 3 after remount when Q1 No was already saved", async () => { diff --git a/src/fmg-components/layouts/questions-page-layout/questions-page-layout.spec.js b/src/fmg-components/layouts/questions-page-layout/questions-page-layout.spec.js index ba96232db..db34bd262 100644 --- a/src/fmg-components/layouts/questions-page-layout/questions-page-layout.spec.js +++ b/src/fmg-components/layouts/questions-page-layout/questions-page-layout.spec.js @@ -177,7 +177,9 @@ describe("questionsPageLayout.vue", () => { await wrapper.setProps({ index: 1 }); const testGlassPiece = { - questions: [{ questionSequence: 1, questionText: "Rain sensing wipers?", answers: [] }], + questions: [ + { questionSequence: 1, questionText: "Rain sensing wipers?", answers: [] }, + ], answerData: null, };