@trayio/commons 4.85.0 → 4.87.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileStorage.abstract.test.d.ts","sourceRoot":"","sources":["../../src/file/FileStorage.abstract.test.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAQ,MAAM,QAAQ,CAAC;AAE3C,eAAO,MAAM,eAAe,gBAAiB,WAAW,
|
|
1
|
+
{"version":3,"file":"FileStorage.abstract.test.d.ts","sourceRoot":"","sources":["../../src/file/FileStorage.abstract.test.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAQ,MAAM,QAAQ,CAAC;AAE3C,eAAO,MAAM,eAAe,gBAAiB,WAAW,SAiGvD,CAAC"}
|
|
@@ -63,12 +63,7 @@ const fileStorageTest = (fileStorage) => {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
const size = await fileStorage.getSize(file.reference.key)();
|
|
66
|
-
expect(size).toEqual(E.right(expect.
|
|
67
|
-
url: expect.any(String),
|
|
68
|
-
})));
|
|
69
|
-
if (E.isRight(size)) {
|
|
70
|
-
expect(size.right).toEqual(expect.any(Number));
|
|
71
|
-
}
|
|
66
|
+
expect(size).toEqual(E.right(expect.any(Number)));
|
|
72
67
|
const read = await fileStorage.read(file.reference.key)();
|
|
73
68
|
const readResponse = E.getOrElse(() => {
|
|
74
69
|
throw new Error('Expected right');
|