Upload folder command #917
Annotations
14 errors
|
test/services/network/upload.service.test.ts > UploadService > uploadFilesInBatches > should properly return the total amount of bytes uploaded once finished with the uploads:
test/services/network/upload.service.test.ts#L365
AssertionError: expected 500 to be 600 // Object.is equality
- Expected
+ Received
- 600
+ 500
❯ test/services/network/upload.service.test.ts:365:22
|
|
test/services/network/upload.service.test.ts > UploadService > createFolderWithRetry > should properly return null if the folder already exists:
test/services/network/upload.service.test.ts#L336
AssertionError: expected 'subfolder-uuid' to be null
- Expected:
null
+ Received:
"subfolder-uuid"
❯ test/services/network/upload.service.test.ts:336:22
|
|
test/services/network/upload.service.test.ts > UploadService > createFolderWithRetry > should properly create a folder and return the created folder uuid:
test/services/network/upload.service.test.ts#L320
AssertionError: expected 'root-uuid' to be 'created-folder-uuid' // Object.is equality
Expected: "created-folder-uuid"
Received: "root-uuid"
❯ test/services/network/upload.service.test.ts:320:22
|
|
test/services/network/upload.service.test.ts > UploadService > createFolders > should properly update the progress on successful folder creation:
test/services/network/upload.service.test.ts#L304
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ test/services/network/upload.service.test.ts:304:45
|
|
test/services/network/upload.service.test.ts > UploadService > createFolders > should properly set as parent folder the destinationFolderUuid for base folder:
test/services/network/upload.service.test.ts#L288
AssertionError: expected "vi.fn()" to be called with arguments: [ { plainName: 'root', …(1) } ]
Number of calls: 0
❯ test/services/network/upload.service.test.ts:288:56
|
|
test/services/network/upload.service.test.ts > UploadService > createFolders > should properly skip over folders that dont have a parentUuid:
test/services/network/upload.service.test.ts#L273
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ test/services/network/upload.service.test.ts:273:27
|
|
test/services/network/upload.service.test.ts > UploadService > createFolders > should properly return a map of created folders where key is relativePath and value is uuid:
test/services/network/upload.service.test.ts#L256
AssertionError: expected 1 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 1
❯ test/services/network/upload.service.test.ts:256:27
|
|
test/services/network/upload.service.test.ts > UploadService > uploadFolderHandler > should properly handle the upload of folder and the creation of file and return proper result:
src/services/network/upload/upload.service.ts#L2687
TypeError: () => value is not a constructor
❯ UploadService.prepareNetwork src/services/network/upload/upload.service.ts:2687:53
❯ UploadService.uploadFolderHandler src/services/network/upload/upload.service.ts:56:5
❯ test/services/network/upload.service.test.ts:212:32
|
|
test/services/network/upload.service.test.ts > UploadService > uploadFolderHandler > should properly return an error if createFolders returns an empty map:
src/services/network/upload/upload.service.ts#L2687
TypeError: () => value is not a constructor
❯ UploadService.prepareNetwork src/services/network/upload/upload.service.ts:2687:53
❯ UploadService.uploadFolderHandler src/services/network/upload/upload.service.ts:56:5
❯ test/services/network/upload.service.test.ts:179:32
|
|
Unhandled error:
test/services/network/upload.service.test.ts#L328
Error: Folder already exists
❯ test/services/network/upload.service.test.ts:328:34
This error originated in "test/services/network/upload.service.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should retry a maximum of 3 tries if an exception is thrown while uploading". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
commands-unit-tests (windows-latest)
The strategy configuration was canceled because "commands-unit-tests.ubuntu-latest" failed
|
|
commands-unit-tests (windows-latest)
The operation was canceled.
|
|
commands-unit-tests (macos-latest)
The strategy configuration was canceled because "commands-unit-tests.ubuntu-latest" failed
|
|
commands-unit-tests (macos-latest)
The operation was canceled.
|