beforeEach(() => { app = createApplication(Application, { include: ['fooStore'] }); app.fooStore.addChangeListener(storeChanged); app.fooStore.state[expectedId] = { id: expectedId }; dispatch(app, FooConstants.DELETE_FOO, expectedId); });
beforeEach(() => { clickLine = sinon.stub(); app = createApplication(Application, { stub: { codeActionCreators: { clickLine: clickLine } } }); childContent = 'This is the content'; element = testTree(<Clickable children={childContent}/>, { context: { app : app } }); });
beforeEach(() => { app = createApplication(Application, { include: ['codeActionCreators'] }); app.codeActionCreators.clickLine(1); });
beforeEach(() => { app = createApplication(Application, { include: ['fooStore', 'fooQueries', 'fooAPI'] }); });