From 610cf77377e11d298dff8293714e589d6552b2f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Bekta=C5=9F?= Date: Wed, 12 Aug 2026 20:30:11 +0300 Subject: [PATCH] test: make all-chain collections coverage opt-in --- test/integration/getCollection.spec.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/integration/getCollection.spec.ts b/test/integration/getCollection.spec.ts index d68f1aaa9..23de9a9ce 100644 --- a/test/integration/getCollection.spec.ts +++ b/test/integration/getCollection.spec.ts @@ -4,6 +4,10 @@ import { Chain, SafelistStatus } from "../../src/types" import { getSdkForChain } from "../utils/setupIntegration" import { processInBatches } from "../utils/utils" +const runAllChainCollections = + process.env.OPENSEA_RUN_ALL_CHAIN_COLLECTIONS === "true" +const allChainCollectionsTest = runAllChainCollections ? test : test.skip + describe("SDK: getCollection", () => { test("Get Verified Collection", async () => { const slug = "cool-cats-nft" @@ -69,7 +73,7 @@ describe("SDK: getCollection", () => { expect(stats.intervals, "Intervals should exist").toBeTruthy() }) - test.skip("Get Collections for all chains", async () => { + allChainCollectionsTest("Get Collections for all chains", async () => { // Excluding Solana (no NFT collections) const chains = Object.values(Chain).filter(chain => chain !== Chain.Solana) const sdk = getSdkForChain(Chain.Mainnet)