diff options
Diffstat (limited to 'test/generic-components/paginatedTable')
-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); + }); +}); |