In zora-get-tokenuri/extractor_test.mjs we have two NFTs as input. Our snapshot extractor also returns two NFTs as output. We split them using let [res1, res2] = result.split('\n') and test res1 against our expected output. The snapshot is failing because res1 and res2 can get interchanged as the extraction-worker doesn't maintain the sequence.
In
zora-get-tokenuri/extractor_test.mjs
we have two NFTs as input. Our snapshot extractor also returns two NFTs as output. We split them usinglet [res1, res2] = result.split('\n')
and testres1
against our expected output. The snapshot is failing becauseres1
andres2
can get interchanged as the extraction-worker doesn't maintain the sequence.The fix is to have only one NFT as input.