Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/thirdweb/src/extensions/erc721/drop721.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ describe.runIf(process.env.TW_SECRET_KEY)(
).resolves.toBe(1n);

// we try to claim an extra `2` tokens
// this should faile bcause the max claimable is `3` and we have previously already claimed 2 tokens (one for ourselves, one for the other wallet)
// this should faile because the max claimable is `3` and we have previously already claimed 2 tokens (one for ourselves, one for the other wallet)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's still a typo in the comment: faile should be fail. The correction is important for maintaining documentation quality, especially since this PR is specifically focused on improving comment clarity.

Suggested change
// this should faile because the max claimable is `3` and we have previously already claimed 2 tokens (one for ourselves, one for the other wallet)
// this should fail because the max claimable is `3` and we have previously already claimed 2 tokens (one for ourselves, one for the other wallet)

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

// NOTE: this relies on the previous tests, we should extract this and properly re-set tests every time
// this probably requires re-deploying contracts for every test => clean slate
await expect(
Expand Down