Skip to content

Commit

Permalink
fix unit test (bcgov#612)
Browse files Browse the repository at this point in the history
Merging without updating app version since it's only a unit test change.
  • Loading branch information
kzdev420 authored and JazzarKarim committed Feb 23, 2024
1 parent 442831a commit e1cbaa6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/unit/NameRequestInfo.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,7 @@ describe('Numbered Amalgamation Info component', () => {
expect(wrapper.vm.$el.querySelector('.numbered-company-list-items')).toBeDefined()
})

// *** TODO: fix this
it.skip('renders the numbered amalgamation content', () => {
it('renders the numbered amalgamation content', () => {
const listItems = wrapper.vm.$el.querySelectorAll('.numbered-company-list-items li')
expect(listItems.length).toEqual(4)

Expand All @@ -253,8 +252,7 @@ describe('Numbered Amalgamation Info component', () => {
expect(listItems[3].textContent).toContain('It is not possible to request a specific Incorporation Number.')
})

// *** TODO: fix this
it.skip('renders the entity type description content', () => {
it('renders the entity type description content', () => {
const listItems = wrapper.vm.$el.querySelectorAll('.entity-type-description li')
expect(listItems.length).toEqual(1)

Expand Down Expand Up @@ -287,8 +285,7 @@ describe('Name Request Info component without a NR', () => {
expect(wrapper.vm.$el.querySelector('.numbered-company-list-items')).toBeDefined()
})

// *** TODO: fix this
it.skip('renders the numbered company content', () => {
it('renders the numbered company content', () => {
const listItems = wrapper.vm.$el.querySelectorAll('.numbered-company-list-items li')
expect(listItems.length).toEqual(5)

Expand Down

0 comments on commit e1cbaa6

Please # to comment.