spec fixes

This commit is contained in:
Phil Hughes 2018-08-02 08:49:10 +01:00
parent cc04a18d65
commit f199e672a8
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F

View file

@ -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', () => {
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', () => {
parentPath: '', parentPath: '',
url: `${gl.TEST_HOST}/newPath`, url: `${gl.TEST_HOST}/newPath`,
moved: jasmine.anything(), moved: jasmine.anything(),
movedPath: jasmine.anything(),
}); });
}); });