Skip to content

Commit

Permalink
feat(StructureList): refactor class components, add aria table roles (#…
Browse files Browse the repository at this point in the history
…8084)

* fix(StructuredList): refactor es6 class components

* fix(StructuredList): add aria table roles

* fix(StructuredList): remove unused setLabel and rowSelection state

* test(StructuredList): update test checking for class instance
  • Loading branch information
dakahn authored Mar 18, 2021
1 parent 7f498bb commit 79c909c
Show file tree
Hide file tree
Showing 2 changed files with 286 additions and 300 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ describe('StructuredListInput', () => {
it('Should render unique id with multiple inputs when no id prop is given', () => {
const wrapper1 = mount(<StructuredListInput className="extra-class" />);
const wrapper2 = mount(<StructuredListInput className="extra-class" />);
expect(wrapper1.instance().uid).not.toEqual(wrapper2.instance().uid);
expect(wrapper1.find('[id]')).not.toEqual(wrapper2.find('[id]'));
});
});
});
Expand Down
Loading

0 comments on commit 79c909c

Please sign in to comment.