File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
extensions/marketplace/offers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ vi.mock("../../../transaction/read-contract");
77vi . mock ( "../../../storage/download" ) ;
88
99// TODO: Add mocks to these tests instead of using live data
10- describe ( "fetchPublishedContract" , ( ) => {
10+ describe . runIf ( process . env . TW_SECRET_KEY ) ( "fetchPublishedContract" , ( ) => {
1111 it ( "fetches the latest published contract when no version is specified" , async ( ) => {
1212 const result = await fetchPublishedContractMetadata ( {
1313 publisher : "0x4a706de5CE9bfe2f9C37BA945805e396d1810824" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import { getOffer } from "./read/getOffer.js";
3131import { acceptOffer } from "./write/acceptOffer.js" ;
3232import { makeOffer } from "./write/makeOffer.js" ;
3333
34- describe ( "Marketplace: Offers" , ( ) => {
34+ describe . runIf ( process . env . TW_SECRET_KEY ) ( "Marketplace: Offers" , ( ) => {
3535 let nftTokenId : bigint ;
3636 let marketplaceContract : ThirdwebContract ;
3737 let erc721Contract : ThirdwebContract ;
You can’t perform that action at this time.
0 commit comments