beforeEach(() => {
   // @NOTE: set state of sidebarListWrapper in each test case 
   // might trigger component lifecycle function 
   sidebarListWrapper = ReactTestUtils.renderIntoDocument(
     React.createElement(SidebarListWrapper, {
       records: _records,
       shouldTagDiffs: false,
       openSource: () => { }
     })
   )
 })
 beforeEach(() => {
   sidebarRootWrapper = ReactTestUtils.renderIntoDocument(
     React.createElement(SidebarRootWrapper, {
       records: _records,
       shouldTagDiffs: false,
       openSource: _openSource
     })
   )
   sidebarFilter = ReactTestUtils.findRenderedComponentWithType(
     sidebarRootWrapper,
     SidebarFilter
   )
   sidebarList = ReactTestUtils.findRenderedComponentWithType(
     sidebarRootWrapper,
     SidebarList
   )
 })
 it('scryRenderedDOMComponentsWithClass', () => {
     const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent));
     ReactTestUtils.scryRenderedDOMComponentsWithClass(component, 'class');
 });
 it('findAllInRenderedTree', () => {
     const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent));
     ReactTestUtils.findAllInRenderedTree(component, (i: React.ReactInstance) => true);
 });
 it('isCompositeComponentWithType', () => {
     const element = React.createElement(TestComponent);
     const instance = ReactTestUtils.renderIntoDocument(element) as TestComponent;
     const isCompositeComponent: boolean = ReactTestUtils.isCompositeComponentWithType(instance, TestComponent);
 });
 it('isDOMComponent', () => {
     const element = React.createElement('div');
     const instance = ReactTestUtils.renderIntoDocument(element) as HTMLDivElement;
     const isDOMElement: boolean = ReactTestUtils.isDOMComponent(instance);
 });
 it('renderIntoDocument', () => {
     const element = React.createElement('input', { type: 'text' });
     ReactTestUtils.renderIntoDocument(element);
 });
 it('findRenderedComponentWithType', () => {
     const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent));
     ReactTestUtils.findRenderedComponentWithType(component, TestComponent);
 });
 it('findRenderedDOMComponentWithTag', () => {
     const component = ReactTestUtils.renderIntoDocument(React.createElement(TestComponent));
     ReactTestUtils.findRenderedDOMComponentWithTag(component, 'tag');
 });
 it('isCompositeComponent', () => {
     const element = React.createElement(TestComponent);
     const instance: TestComponent = ReactTestUtils.renderIntoDocument(element);
     const isCompositeComponent: boolean = ReactTestUtils.isCompositeComponent(instance);
 });