Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/integration/getCollection.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
Expand Down