Skip to content

[Update] Refactor claim condition retrieval and add support check (#4…

Codecov / codecov/patch succeeded Sep 4, 2024 in 1s

73.57% of diff hit (target 59.95%)

View this Pull Request on Codecov

73.57% of diff hit (target 59.95%)

Annotations

Check warning on line 86 in packages/thirdweb/src/extensions/erc721/drops/read/getActiveClaimCondition.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/extensions/erc721/drops/read/getActiveClaimCondition.ts#L75-L86

Added lines #L75 - L86 were not covered by tests

Check warning on line 58 in packages/thirdweb/src/extensions/erc721/drops/read/getClaimConditions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/extensions/erc721/drops/read/getClaimConditions.ts#L41-L58

Added lines #L41 - L58 were not covered by tests

Check warning on line 69 in packages/thirdweb/src/extensions/erc721/drops/read/getClaimConditions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/extensions/erc721/drops/read/getClaimConditions.ts#L64-L69

Added lines #L64 - L69 were not covered by tests

Check warning on line 93 in packages/thirdweb/src/extensions/erc721/drops/read/getClaimConditions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/extensions/erc721/drops/read/getClaimConditions.ts#L84-L93

Added lines #L84 - L93 were not covered by tests

Check warning on line 72 in packages/thirdweb/src/extensions/erc721/drops/write/claimTo.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/extensions/erc721/drops/write/claimTo.ts#L67-L72

Added lines #L67 - L72 were not covered by tests

Check warning on line 70 in packages/thirdweb/src/extensions/erc721/drops/write/resetClaimEligibility.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/extensions/erc721/drops/write/resetClaimEligibility.ts#L66-L70

Added lines #L66 - L70 were not covered by tests

Check warning on line 85 in packages/thirdweb/src/extensions/erc721/drops/write/setClaimConditions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/extensions/erc721/drops/write/setClaimConditions.ts#L77-L85

Added lines #L77 - L85 were not covered by tests

Check warning on line 106 in packages/thirdweb/src/extensions/erc721/write/lazyMint.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/extensions/erc721/write/lazyMint.ts#L101-L106

Added lines #L101 - L106 were not covered by tests