Skip to content

Commit

Permalink
fix: Fix tests following change wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Pires committed Mar 8, 2021
1 parent 172ac15 commit 89458bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ducks/balance/AccountRowLoading.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('Account Row Loading', () => {

it('should progress with any status', () => {
const { root } = setup(konnectorInfos[0])
expect(root.getByText('Importing accounts')).toBeTruthy()
expect(root.getByText('Import accounts')).toBeTruthy()
expect(root.getByText('In progress')).toBeTruthy()
expect(root.getByRole('progressbar')).toBeTruthy()
})
Expand Down
4 changes: 2 additions & 2 deletions src/ducks/balance/AccountsImporting.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('Importing Accounts', () => {
konnectorInfos
})
expect(root.getAllByRole('progressbar').length).toEqual(3)
expect(root.getAllByText('Importing accounts').length).toEqual(3)
expect(root.getAllByText('Import accounts').length).toEqual(3)
expect(root.getByText('This may take a few minutes…')).toBeTruthy()
})

Expand All @@ -60,7 +60,7 @@ describe('Importing Accounts', () => {
})

expect(root.queryAllByRole('progressbar').length).toEqual(0)
expect(root.queryByText('Importing accounts')).toBeFalsy()
expect(root.queryByText('Import accounts')).toBeFalsy()
expect(root.queryByText('This may take a few minutes…')).toBeFalsy()
})
})

0 comments on commit 89458bc

Please sign in to comment.