feat: Support multiple file upload on dashboard (#3748)

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
Nithin David Thomas
2022-01-24 18:46:58 -08:00
committed by GitHub
co-authored by Sivin Varghese
parent b304f5a826
commit 8cff690640
4 changed files with 22 additions and 9 deletions
@@ -36,7 +36,7 @@ describe('#ConversationAPI', () => {
echoId: 12,
isPrivate: true,
file: new Blob(['test-content'], { type: 'application/pdf' }),
files: [new Blob(['test-content'], { type: 'application/pdf' })],
});
expect(formPayload).toBeInstanceOf(FormData);
expect(formPayload.get('content')).toEqual('test content');