Skip to content

Commit

Permalink
chore: uncomment test assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Jun 13, 2024
1 parent 579a7f4 commit 637bf17
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions packages/api/test/nfts-list.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
])
}
)

0 comments on commit 637bf17

Please sign in to comment.