Skip to content

Commit

Permalink
fix(tests): conditionally run ClaimButton tests based on TW_SECRET_KE…
Browse files Browse the repository at this point in the history
…Y environment variable (#3803)
  • Loading branch information
joaquim-verges committed Jul 24, 2024
1 parent 8fa7eef commit e7581fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e7581fc

Please sign in to comment.