Skip to content

Commit 89637f6

Browse files
more test skip
1 parent 3747992 commit 89637f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/thirdweb/src/contract/deployment/publisher.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ vi.mock("../../../transaction/read-contract");
77
vi.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",

packages/thirdweb/src/extensions/marketplace/offers/offers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { getOffer } from "./read/getOffer.js";
3131
import { acceptOffer } from "./write/acceptOffer.js";
3232
import { 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;

0 commit comments

Comments
 (0)