From a7538d5e5c05ba5259fafc35b718373d8cc09542 Mon Sep 17 00:00:00 2001 From: saul Date: Wed, 10 Apr 2024 15:09:36 +1200 Subject: [PATCH] Linting. --- .../daemon/test/modules/downloader.spec.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/daemon/test/modules/downloader.spec.ts b/packages/daemon/test/modules/downloader.spec.ts index c493f5c5..d96a5f6d 100644 --- a/packages/daemon/test/modules/downloader.spec.ts +++ b/packages/daemon/test/modules/downloader.spec.ts @@ -67,9 +67,9 @@ describe('downloader', () => { age }) - assert.equal(state1.length, 1) - assert.equal(state1[0].size, 0) - assert.equal(state1[0].blocks, 0) + assert.equal(state1.length, 1) + assert.equal(state1[0].size, 0) + assert.equal(state1[0].blocks, 0) const value = await blockstore.get(dag[0]) @@ -81,9 +81,9 @@ describe('downloader', () => { age }) - assert.equal(state2.length, 1) - assert.equal(state2[0].size, value.length) - assert.equal(state2[0].blocks, 1) + assert.equal(state2.length, 1) + assert.equal(state2[0].size, value.length) + assert.equal(state2[0].blocks, 1) await new Promise(resolve => setTimeout(resolve, age / 2)) @@ -104,9 +104,9 @@ describe('downloader', () => { age }) - assert.equal(state3.length, 1) - assert.equal(state3[0].size, values.reduce((a, c) => c.length + a, 0)) - assert.equal(state3[0].blocks, values.length) + assert.equal(state3.length, 1) + assert.equal(state3[0].size, values.reduce((a, c) => c.length + a, 0)) + assert.equal(state3[0].blocks, values.length) client.close() await components.stop()