Mock out getDownloadLink

This commit is contained in:
richard-dds 2019-08-30 16:18:31 -04:00
parent 83ca303e1f
commit f05d6908ef

View File

@ -74,6 +74,7 @@ describe('UploadInput Test', () => {
component.setMethods({
getUploader: async () => new MockUploader('token', 'objectName'),
getDownloadLink: async (_f, _o) => 'downloadLink',
})
component.vm.addAttachment(event).then(() => {