diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/nodes/ImageView.spec.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/nodes/ImageView.spec.js b/src/tests/nodes/ImageView.spec.js index 04b5a0727..5c524c4d5 100644 --- a/src/tests/nodes/ImageView.spec.js +++ b/src/tests/nodes/ImageView.spec.js @@ -1,9 +1,6 @@ import { shallowMount } from '@vue/test-utils' import ImageView from '../../nodes/ImageView.vue' -global.FileList = { - getCurrentDirectory: function() {return '/current'}, -} global.OC = { requestToken: '123', config: {modRewriteWorking: true}, @@ -15,6 +12,7 @@ describe('Image View src attribute based on markdown', () => { const factory = attrs => { const propsData = { + options: {currentDirectory: '/current'}, node: {attrs} } const data = () => ({ |