-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(DOSUpload): add upload queue concurrency
Related #12
- Loading branch information
1 parent
bae6933
commit 4857f46
Showing
3 changed files
with
97 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
Tests/DigitalOceanSpacesUpload/utils/__snapshots__/Upload.spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`DOSUpload should upload file successfully 1`] = ` | ||
Array [ | ||
Array [ | ||
"All uploads to Space completed", | ||
], | ||
Array [ | ||
"Completed upload of Tests/fixtures/file-v1.0.1.txt to file-v1.0.1.txt", | ||
], | ||
Array [ | ||
"Completed upload of Tests/fixtures/file1-v1.2.1.txt to file1-v1.2.1.txt", | ||
], | ||
Array [ | ||
"Completed upload of Tests/fixtures/file2-v1.3.1.json to file2-v1.3.1.json", | ||
], | ||
Array [ | ||
"Searching ./Tests/fixtures/ for files to upload", | ||
], | ||
Array [ | ||
"Upload progress is 1.34 kB of 2.34 kB - 57%", | ||
], | ||
Array [ | ||
"Upload progress is 1.34 kB of 2.34 kB - 57%", | ||
], | ||
Array [ | ||
"Upload progress is 1.34 kB of 2.34 kB - 57%", | ||
], | ||
Array [ | ||
"Upload progress is 2.34 kB of 2.34 kB - 100%", | ||
], | ||
Array [ | ||
"Upload progress is 2.34 kB of 2.34 kB - 100%", | ||
], | ||
Array [ | ||
"Upload progress is 2.34 kB of 2.34 kB - 100%", | ||
], | ||
Array [ | ||
"Uploading files from ./Tests/fixtures/ to root in bucket test", | ||
], | ||
Array [ | ||
"Uploading matched file Tests/fixtures/file-v1.0.1.txt in file-v1.0.1.txt text/plain", | ||
], | ||
Array [ | ||
"Uploading matched file Tests/fixtures/file1-v1.2.1.txt in file1-v1.2.1.txt text/plain", | ||
], | ||
Array [ | ||
"Uploading matched file Tests/fixtures/file2-v1.3.1.json in file2-v1.3.1.json application/octet-stream", | ||
], | ||
] | ||
`; |