diff --git a/packages/thirdweb/src/react/web/ui/prebuilt/thirdweb/ClaimButton/ClaimButton.test.tsx b/packages/thirdweb/src/react/web/ui/prebuilt/thirdweb/ClaimButton/ClaimButton.test.tsx index 8e24a0b48cf..b630bd71d38 100644 --- a/packages/thirdweb/src/react/web/ui/prebuilt/thirdweb/ClaimButton/ClaimButton.test.tsx +++ b/packages/thirdweb/src/react/web/ui/prebuilt/thirdweb/ClaimButton/ClaimButton.test.tsx @@ -25,7 +25,7 @@ const chain = ANVIL_CHAIN; * The ClaimButton uses TransactionButton under the hood * So all we need to test is whether it gives the correct PreparedTransaction to the TransactionButton */ -describe("ClaimButton", () => { +describe.runIf(process.env.TW_SECRET_KEY)("ClaimButton", () => { // ERC721 it("should throw an error if not an ERC721 contract", async () => { const contract = USDT_CONTRACT;