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', () => {
localState.entries.filePath = {
deleted: false,
type: 'blob',
};
mutations.DELETE_ENTRY(localState, 'filePath');
@ -263,6 +264,7 @@ describe('Multi-file store mutations', () => {
localState.entries.oldPath = {
...file(),
type: 'blob',
name: 'oldPath',
path: 'oldPath',
url: `${gl.TEST_HOST}/oldPath`,
};
@ -283,6 +285,7 @@ describe('Multi-file store mutations', () => {
parentPath: '',
url: `${gl.TEST_HOST}/newPath`,
moved: jasmine.anything(),
movedPath: jasmine.anything(),
});
});