diff options
author | James Forsyth <jf2512@att.com> | 2019-08-15 14:01:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-15 14:01:14 +0000 |
commit | 4fc2ea58cd77207f640a50e67605840c35a09171 (patch) | |
tree | e2ebf830cb7716923ee5b16b47fc9f6e8e15e80d /test/generic-components/paginatedTable/PaginatedTable.test.js | |
parent | b37e778775e56fa8fc5e346be944fb080d23f8ab (diff) | |
parent | 962b0410413800b18ced9e8adba1fa393292d4ad (diff) |
Merge "Shallow render generic components"
Diffstat (limited to 'test/generic-components/paginatedTable/PaginatedTable.test.js')
-rw-r--r-- | test/generic-components/paginatedTable/PaginatedTable.test.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/generic-components/paginatedTable/PaginatedTable.test.js b/test/generic-components/paginatedTable/PaginatedTable.test.js new file mode 100644 index 0000000..d3a32b5 --- /dev/null +++ b/test/generic-components/paginatedTable/PaginatedTable.test.js @@ -0,0 +1,11 @@ +import React from 'react'; +import PaginatedTable from 'generic-components/paginatedTable/PaginatedTable.jsx'; +import {shallow} from 'enzyme'; + +describe('PaginatedTable component', () => { + it('should be rendered', () => { + const component = shallow(<PaginatedTable tableHeaders={{}}/>); + + expect(component).toHaveLength(1); + }); +}); |