diff --git a/src/constants/dynamic-strings.js b/src/constants/dynamic-strings.js index b81c0f30..1cff1d26 100644 --- a/src/constants/dynamic-strings.js +++ b/src/constants/dynamic-strings.js @@ -2,7 +2,8 @@ const dynamicStrings = { GLOBAL_STATE: "globalState", CUSTOM: "custom", ROUTER_LINK: "routerLink:", - MODAL_LINK: "modalLink" + MODAL_LINK: "modalLink", + TEXT_LINK: 'textLink' }; export { dynamicStrings }; \ No newline at end of file diff --git a/src/digital-components/button-question/button-question.spec.js b/src/digital-components/button-question/button-question.spec.js index 427faa99..e4a25764 100644 --- a/src/digital-components/button-question/button-question.spec.js +++ b/src/digital-components/button-question/button-question.spec.js @@ -2,22 +2,6 @@ import { shallowMount } from "@vue/test-utils"; import buttonQuestion from "@/digital-components/button-question/button-question"; import { getMountOptions } from "@/helpers/unit-test-helper.js"; -describe("buttonQuestion.vue", () => { - it("Should show overflow classes on fieldset if isOverflowScrollable is true", () => { - // Act - const wrapper = shallowMount(buttonQuestion, { - propsData: { - isOverflowScrollable: true, - groupName: "group-name", - }, - }); - - // Assert - const fieldSet = wrapper.find("fieldset"); - expect(fieldSet.classes()).toContain("overflow-scroll"); - }); -}); - describe("buttonQuestion.vue", () => { it("Fieldset classes should contain row if button type is listCard", () => { // Act diff --git a/src/digital-components/button-question/button-question.vue b/src/digital-components/button-question/button-question.vue index b401a6a6..d36cac83 100644 --- a/src/digital-components/button-question/button-question.vue +++ b/src/digital-components/button-question/button-question.vue @@ -4,16 +4,15 @@ :class=" isOverflowScrollable ? 'button-question button-question-overflow' : 'button-question' "> -
{{ questionText }}
-
+
@@ -145,7 +144,7 @@ export default { const SmallQuestionTextClass = this.isSmallQuestionText ? baseClasses + "small-question-text" - : baseClasses; + : baseClasses; const SmallQuestionLabelText = this.isSmallQuestionLabelText ? SmallQuestionTextClass + "small-question-label-text" @@ -234,16 +233,6 @@ export default { \ No newline at end of file + diff --git a/src/digital-components/question-chain/question-chain.vue b/src/digital-components/question-chain/question-chain.vue index c66d4dcd..c7076950 100644 --- a/src/digital-components/question-chain/question-chain.vue +++ b/src/digital-components/question-chain/question-chain.vue @@ -1,5 +1,5 @@