Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
♻️ ✅ for NFTMethod.destroy
Browse files Browse the repository at this point in the history
Co-authored-by: Incede <[email protected]>
  • Loading branch information
has5aan and Incede authored Jun 7, 2023
1 parent dc86331 commit d3e98a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/test/unit/modules/nft/method.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ describe('NFTMethod', () => {
it('should fail and emit Destroy event if NFT is escrowed', async () => {
await expect(
method.destroy(methodContext, escrowedNFT.owner, escrowedNFT.nftID),
).rejects.toThrow();
).rejects.toThrow('NFT is escrowed to another chain');

checkEventResult<DestroyEventData>(
methodContext.eventQueue,
Expand Down

0 comments on commit d3e98a4

Please sign in to comment.