From 6d269ada669e46ed0146cbed0fed9ffced37237b Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Mon, 8 Jan 2024 15:35:42 -0500 Subject: [PATCH] CSR-1610: fix unit test --- src/digital-components/question-chain/question-chain.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/digital-components/question-chain/question-chain.spec.js b/src/digital-components/question-chain/question-chain.spec.js index 2444fd22d..d516afc03 100644 --- a/src/digital-components/question-chain/question-chain.spec.js +++ b/src/digital-components/question-chain/question-chain.spec.js @@ -265,8 +265,8 @@ describe("Question Chain component", () => { ], }, ], - index: 0, }); + await wrapper.setProps({ index: 0 }); //Act const result = wrapper.vm.getQuestionChainAnswerIfComplete(testReturnedAnswer);