From 637bf177e9e54efc8d1761f91c510b27a7b9e833 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Thu, 13 Jun 2024 17:49:57 +0200 Subject: [PATCH] chore: uncomment test assertions --- packages/api/test/nfts-list.spec.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/api/test/nfts-list.spec.js b/packages/api/test/nfts-list.spec.js index c9767e0b2e..5ca26707f8 100644 --- a/packages/api/test/nfts-list.spec.js +++ b/packages/api/test/nfts-list.spec.js @@ -239,13 +239,12 @@ test.serial( const { ok, value } = await res.json() t.true(ok) - console.log('value2', value) - // t.is(value.length, 2) - // t.is(value[0].cid, cidv0) - // t.truthy(Array.isArray(value[0].parts), 'upload.parts is an array') - // t.deepEqual(value[0].parts, [ - // // this corresponds to `exampleW3sUrl` - // 'bagbaiera6xcx7hiicm7sc523axbjf2otuu5nptt6brdzt4a5ulgn6qcfdwea', - // ]) + t.is(value.length, 2) + t.is(value[0].cid, cidv0) + t.truthy(Array.isArray(value[0].parts), 'upload.parts is an array') + t.deepEqual(value[0].parts, [ + // this corresponds to `exampleW3sUrl` + 'bagbaiera6xcx7hiicm7sc523axbjf2otuu5nptt6brdzt4a5ulgn6qcfdwea', + ]) } )