fixed file action spec
This commit is contained in:
parent
3366ff9e94
commit
8b240e6ca0
1 changed files with 8 additions and 2 deletions
|
@ -511,7 +511,10 @@ describe('IDE store file actions', () => {
|
|||
actions.stageChange,
|
||||
'path',
|
||||
store.state,
|
||||
[{ type: types.STAGE_CHANGE, payload: 'path' }],
|
||||
[
|
||||
{ type: types.STAGE_CHANGE, payload: 'path' },
|
||||
{ type: types.SET_LAST_COMMIT_MSG, payload: '' },
|
||||
],
|
||||
[],
|
||||
done,
|
||||
);
|
||||
|
@ -524,7 +527,10 @@ describe('IDE store file actions', () => {
|
|||
actions.unstageChange,
|
||||
'path',
|
||||
store.state,
|
||||
[{ type: types.UNSTAGE_CHANGE, payload: 'path' }],
|
||||
[
|
||||
{ type: types.UNSTAGE_CHANGE, payload: 'path' },
|
||||
{ type: types.SET_LAST_COMMIT_MSG, payload: '' },
|
||||
],
|
||||
[],
|
||||
done,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue