Deleted dead code.

This commit is contained in:
didier amyot committed 2023-06-13 08:53:26 -04:00
1 parent eae420a5a4
commit 8dcd8cc425
4 files changed
+51 -70

No files matched your search

+3 -3
View File
@@ -19,7 +19,7 @@ Deno.test('DenoKVBlobService happy path', async (t) => {
const size = await bs.persistBlob('0002', toUint8Array('hello world'));
const content = await bs.readAllBlob('0002');
assertEquals(content, toUint8Array('hello world'));
assertEquals(await bs.getNumberOfBlobs('0002'), 1);
assertEquals(await bs.getNumberOfChunks('0002'), 1);
assertEquals(size, 'hello world'.length);
});
@@ -28,7 +28,7 @@ Deno.test('DenoKVBlobService happy path', async (t) => {
const size = await bs.persistBlob('0001', largeText);
const content = await bs.readAllBlob('0001');
assertEquals(content, largeText);
assertEquals(await bs.getNumberOfBlobs('0001'), 21);
assertEquals(await bs.getNumberOfChunks('0001'), 21);
assertEquals(size, largeText.length);
});
@@ -37,7 +37,7 @@ Deno.test('DenoKVBlobService happy path', async (t) => {
const f = await Deno.open(fileName);
const size = await bs.persistReader('large-stream', f);
assertEquals(await bs.getNumberOfBlobs('large-stream'), 1030);
assertEquals(await bs.getNumberOfChunks('large-stream'), 1030);
assertEquals((await Deno.readFile(fileName)).length, size);
f.close();
});