describe('Test the states', () => { it('should start with operations empty list', () => { const component = shallow(<App />); const child = shallow(component.get(0)); expect(child.state('operations')).to.be.eql([]); }) });