Skip to content

Commit

Permalink
small unit change
Browse files Browse the repository at this point in the history
  • Loading branch information
trevoratindustrio committed Apr 29, 2024
1 parent 004ca63 commit a67dcce
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ import { existingAccountList } from '@/tests/unit/utils/mockedData'
describe('Existing Accounts List tests', () => {
let wrapper: VueWrapper<any>

beforeEach(() => { wrapper = mount(BcrosExistingAccountsList) })
afterEach(() => { wrapper.unmount() })

//TODO: TC - use the mocked data
// inject empty existingAccountList
//Check for existance of fields per row, or not per row
beforeEach(() => { wrapper = mount(BcrosExistingAccountsList) })
afterEach(() => { wrapper.unmount() })

test('Contains all the expected elements', () => {
expect(wrapper.find('[data-cy="existing-accounts-list"]').exists()).toBe(true)
})

})

0 comments on commit a67dcce

Please sign in to comment.