diff --git a/jest.config.js b/jest.config.js index cc95af335..e36f1a70d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -11,7 +11,7 @@ module.exports = { "!src/constants/*.js", "!src/router/**/*.js", "!src/helpers/unit-test-helper.js", - "!src/layouts/component-test/component-test.vue" + "!src/layouts/component-test/component-test.vue", ], //! means exclude from coverage. testMatch: ["**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"], coverageThreshold: { diff --git a/src/common-components/radio-question/radio-question.spec.js b/src/common-components/radio-question/radio-question.spec.js index 17b6ff311..de6458122 100644 --- a/src/common-components/radio-question/radio-question.spec.js +++ b/src/common-components/radio-question/radio-question.spec.js @@ -4,11 +4,11 @@ import radioQuestion from "@/common-components/radio-question/radio-question"; describe("radioQuestion.vue", () => { it("Should render the 'questionText' prop value as a span value for the radio question and the 'answer' values should render as text values for radio components.", async () => { // Act - const wrapper = shallowMount(radioQuestion) + const wrapper = shallowMount(radioQuestion); await wrapper.setProps({ questionText: "Question Text", answers: ["2023", "2022", "2021"], - modelValue: "2020" + modelValue: "2020", }); wrapper.vm.chooseAnswer("2021"); diff --git a/src/common-components/radio-question/radio-question.vue b/src/common-components/radio-question/radio-question.vue index 8e44d965c..2c088fcc7 100644 --- a/src/common-components/radio-question/radio-question.vue +++ b/src/common-components/radio-question/radio-question.vue @@ -6,19 +6,32 @@ }}
This is default body copy font size/weight
-This is small body copy using .small class
This is also small using <small> tag
+ This is small body copy using .small class
+
+ This is also small using <small> tag
+
{{ alertHeadline }}
+{{ alertCopy }}
+