Skip to content

Commit

Permalink
25229 - Remove Learn More button in Business Registry Marketing page (#…
Browse files Browse the repository at this point in the history
…3280)

Signed-off-by: Qin <[email protected]>
  • Loading branch information
ArwenQin authored Feb 27, 2025
1 parent c9cc2dc commit 379e6c1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.
4 changes: 2 additions & 2 deletions auth-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auth-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-web",
"version": "2.8.14",
"version": "2.8.15",
"appName": "Auth Web",
"sbcName": "SBC Common Components",
"private": true,
Expand Down
15 changes: 1 addition & 14 deletions auth-web/src/views/auth/home/DecideBusinessView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@
</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>

<!-- Panel Btns -->
<learn-more-button
class="mt-3"
:redirectUrl="learnMoreUrl"
/>
</v-col>
<!-- Image Column -->
<v-col
Expand All @@ -66,16 +60,9 @@
<script lang="ts">
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<any> = [
{
Expand Down
2 changes: 0 additions & 2 deletions auth-web/tests/unit/views/DecideBusinessView.spec.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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 () => {
Expand Down

0 comments on commit 379e6c1

Please sign in to comment.