spec fixes
This commit is contained in:
parent
cc04a18d65
commit
f199e672a8
1 changed files with 3 additions and 0 deletions
|
@ -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(),
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue