fixed stageAllChanges test

This commit is contained in:
Phil Hughes 2018-05-06 12:30:50 +01:00
parent 8b240e6ca0
commit 398ee68457
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F

View file

@ -309,6 +309,7 @@ describe('Multi-file store actions', () => {
null, null,
store.state, store.state,
[ [
{ type: types.SET_LAST_COMMIT_MSG, payload: '' },
{ type: types.STAGE_CHANGE, payload: store.state.changedFiles[0].path }, { type: types.STAGE_CHANGE, payload: store.state.changedFiles[0].path },
{ type: types.STAGE_CHANGE, payload: store.state.changedFiles[1].path }, { type: types.STAGE_CHANGE, payload: store.state.changedFiles[1].path },
], ],