Commit f199e672 authored by Phil Hughes's avatar Phil Hughes

spec fixes

parent cc04a18d
...@@ -206,6 +206,7 @@ describe('Multi-file store mutations', () => { ...@@ -206,6 +206,7 @@ describe('Multi-file store mutations', () => {
it('adds to changedFiles', () => { it('adds to changedFiles', () => {
localState.entries.filePath = { localState.entries.filePath = {
deleted: false, deleted: false,
type: 'blob',
}; };
mutations.DELETE_ENTRY(localState, 'filePath'); mutations.DELETE_ENTRY(localState, 'filePath');
...@@ -263,6 +264,7 @@ describe('Multi-file store mutations', () => { ...@@ -263,6 +264,7 @@ describe('Multi-file store mutations', () => {
localState.entries.oldPath = { localState.entries.oldPath = {
...file(), ...file(),
type: 'blob', type: 'blob',
name: 'oldPath',
path: 'oldPath', path: 'oldPath',
url: `${gl.TEST_HOST}/oldPath`, url: `${gl.TEST_HOST}/oldPath`,
}; };
...@@ -283,6 +285,7 @@ describe('Multi-file store mutations', () => { ...@@ -283,6 +285,7 @@ describe('Multi-file store mutations', () => {
parentPath: '', parentPath: '',
url: `${gl.TEST_HOST}/newPath`, url: `${gl.TEST_HOST}/newPath`,
moved: jasmine.anything(), moved: jasmine.anything(),
movedPath: jasmine.anything(),
}); });
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment