From 379e6c14d63e954a78da7c61eb6d4129de9d8070 Mon Sep 17 00:00:00 2001 From: Arwen Qin <122495122+ArwenQin@users.noreply.github.com> Date: Thu, 27 Feb 2025 11:35:45 -0800 Subject: [PATCH] 25229 - Remove Learn More button in Business Registry Marketing page (#3280) Signed-off-by: Qin --- auth-web/package-lock.json | 4 ++-- auth-web/package.json | 2 +- .../src/views/auth/home/DecideBusinessView.vue | 15 +-------------- .../tests/unit/views/DecideBusinessView.spec.ts | 2 -- 4 files changed, 4 insertions(+), 19 deletions(-) diff --git a/auth-web/package-lock.json b/auth-web/package-lock.json index fa3ef1bab5..c64d327e3b 100644 --- a/auth-web/package-lock.json +++ b/auth-web/package-lock.json @@ -1,12 +1,12 @@ { "name": "auth-web", - "version": "2.8.14", + "version": "2.8.15", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "auth-web", - "version": "2.8.14", + "version": "2.8.15", "dependencies": { "@bcrs-shared-components/base-address": "2.0.39", "@bcrs-shared-components/bread-crumb": "1.0.8", diff --git a/auth-web/package.json b/auth-web/package.json index cca6ef53cb..befd6327a5 100644 --- a/auth-web/package.json +++ b/auth-web/package.json @@ -1,6 +1,6 @@ { "name": "auth-web", - "version": "2.8.14", + "version": "2.8.15", "appName": "Auth Web", "sbcName": "SBC Common Components", "private": true, diff --git a/auth-web/src/views/auth/home/DecideBusinessView.vue b/auth-web/src/views/auth/home/DecideBusinessView.vue index ba53609358..6b573dd12e 100644 --- a/auth-web/src/views/auth/home/DecideBusinessView.vue +++ b/auth-web/src/views/auth/home/DecideBusinessView.vue @@ -36,12 +36,6 @@ - - - import { Component, Vue } from 'vue-property-decorator' import ConfigHelper from '@/util/config-helper' -import LearnMoreButton from '@/components/auth/common/LearnMoreButton.vue' -@Component({ - components: { - LearnMoreButton - } -}) +@Component({}) export default class DecideBusinessView extends Vue { - readonly learnMoreUrl = 'https://smallbusinessbc.ca/article/how-to-choose-the-right-business-structure-for-your-' + - 'small-business/' readonly selectorWizardUrl = ConfigHelper.getEntitySelectorUrl() readonly bulletPoints: Array = [ { diff --git a/auth-web/tests/unit/views/DecideBusinessView.spec.ts b/auth-web/tests/unit/views/DecideBusinessView.spec.ts index 858492b2bb..b8f0e5d6f2 100644 --- a/auth-web/tests/unit/views/DecideBusinessView.spec.ts +++ b/auth-web/tests/unit/views/DecideBusinessView.spec.ts @@ -1,6 +1,5 @@ import { createLocalVue, mount } from '@vue/test-utils' import DecideBusinessView from '@/views/auth/home/DecideBusinessView.vue' -import LearnMoreButton from '@/components/auth/common/LearnMoreButton.vue' import VueRouter from 'vue-router' import Vuetify from 'vuetify' import flushPromises from 'flush-promises' @@ -42,7 +41,6 @@ describe('DecideBusinessView.vue', () => { it('renders the components properly', () => { expect(wrapper.findComponent(DecideBusinessView).exists()).toBe(true) - expect(wrapper.findComponent(LearnMoreButton).exists()).toBe(true) }) it('renders the correct text and number of bullet points', async () => {