Skip to content

Commit

Permalink
prettier build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyboylehub committed Jul 15, 2024
1 parent 43882dc commit c5e84bd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions clients/js/test/createV1.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,19 @@ test('it can create a collectionV2 NonFungible', async (t) => {
uri: 'https://example.com/my-collection-nft.json',
sellerFeeBasisPoints: percentAmount(5.5),
isCollection: true,
collectionDetails: collectionDetails('V2', { padding: collectionV2Padding }),
collectionDetails: collectionDetails('V2', {
padding: collectionV2Padding,
}),
}).sendAndConfirm(umi);

// Then a Metadata account was created with the collection details set.
const metadata = findMetadataPda(umi, { mint: mint.publicKey });
const metadataAccount = await fetchMetadata(umi, metadata);
t.like(metadataAccount, <Metadata>{
publicKey: publicKey(metadata),
collectionDetails: some(collectionDetails('V2', { padding: collectionV2Padding })),
collectionDetails: some(
collectionDetails('V2', { padding: collectionV2Padding })
),
});
});

Expand Down

0 comments on commit c5e84bd

Please sign in to comment.