Add unit tests for 'download-file' command

Reviewed By: mweststrate

Differential Revision: D32926830

fbshipit-source-id: fbd4dcb910ffdcdc365f5f0b4c401423f0256824
This commit is contained in:
Andrey Goncharov
2021-12-10 06:34:37 -08:00
committed by Facebook GitHub Bot
parent 6aa0cef927
commit 9436c32ce9
5 changed files with 244 additions and 3 deletions

View File

@@ -231,7 +231,6 @@ export class FlipperServerImpl implements FlipperServer {
'node-api-fs-unlink': unlink,
'node-api-fs-mkdir': mkdir,
'node-api-fs-copyFile': copyFile,
// TODO: Unit tests
// TODO: Do we need API to cancel an active download?
'download-file-start': commandDownloadFileStartFactory(
this.emit.bind(this),