Mock out getDownloadLink
This commit is contained in:
parent
83ca303e1f
commit
f05d6908ef
@ -74,6 +74,7 @@ describe('UploadInput Test', () => {
|
|||||||
|
|
||||||
component.setMethods({
|
component.setMethods({
|
||||||
getUploader: async () => new MockUploader('token', 'objectName'),
|
getUploader: async () => new MockUploader('token', 'objectName'),
|
||||||
|
getDownloadLink: async (_f, _o) => 'downloadLink',
|
||||||
})
|
})
|
||||||
|
|
||||||
component.vm.addAttachment(event).then(() => {
|
component.vm.addAttachment(event).then(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user