Commit 57fc0830 authored by Coung Ngo's avatar Coung Ngo

Improve jira_import_form_spec.js test

Improve test as a result of reviewer comment
parent 8b07dc1c
...@@ -131,7 +131,7 @@ describe('JiraImportForm', () => { ...@@ -131,7 +131,7 @@ describe('JiraImportForm', () => {
it('shows all user mappings', () => { it('shows all user mappings', () => {
wrapper = mountComponent({ mountFunction: mount }); wrapper = mountComponent({ mountFunction: mount });
expect(getTable().findAll('tbody tr').length).toBe(defaultUserMappings.length); expect(getTable().findAll('tbody tr')).toHaveLength(2);
}); });
it('shows correct information in each cell', () => { it('shows correct information in each cell', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment