@sprucelabs/spruce-file-utils 16.0.4 → 16.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,7 +49,7 @@ export default class MockChunkingUploader extends AbstractEventEmitter {
|
|
49
49
|
this.lastUploadResponse = this.getCurrentResponse();
|
50
50
|
if (this.nameToSlow === options.fileName) {
|
51
51
|
yield new Promise((r) => {
|
52
|
-
MockChunkingUploader.setTimeout(() => r(undefined),
|
52
|
+
MockChunkingUploader.setTimeout(() => r(undefined), 500);
|
53
53
|
});
|
54
54
|
}
|
55
55
|
return {
|
@@ -41,7 +41,7 @@ class MockChunkingUploader extends mercury_event_emitter_1.AbstractEventEmitter
|
|
41
41
|
this.lastUploadResponse = this.getCurrentResponse();
|
42
42
|
if (this.nameToSlow === options.fileName) {
|
43
43
|
await new Promise((r) => {
|
44
|
-
MockChunkingUploader.setTimeout(() => r(undefined),
|
44
|
+
MockChunkingUploader.setTimeout(() => r(undefined), 500);
|
45
45
|
});
|
46
46
|
}
|
47
47
|
return {
|