SPB Git

spb/rareindex

Public
1.3 KB · 37 lines typescript
1import { describe, expect, it } from 'vitest';2import meta from './meta.json' with { type: 'json' };3import { describeShopifyStore } from '../_g3-shops-na-lib/store-suite.js';4import createConnector from './index.js';56/**7 * Big B Comics — metadata-only Shopify store connector. The shared suite checks the taxonomy mapping of every8 * configured collection/rule, the exclusion regex on real title shapes, and normalises the live-captured9 * fixtures in data/fixtures/big-b-comics/ (runFixtureSuite invariants + CAD currency, seller, SKUs, ended variants).10 */11describeShopifyStore(meta, createConnector, { describe, it, expect }, {12  "cases": [13    {14      "title": "Spawn 1992 #4 Newsstand ed. - CGC 9.4 - $55.00",15      "productType": "Key Issues",16      "collection": "cgc-graded-comics",17      "categorySlug": "comics"18    },19    {20      "title": "Deadpool 1997 #54 Direct Edition - CGC 9.8 - $300.00",21      "collection": "cgc-graded-comics",22      "categorySlug": "marvel_comics",23      "franchise": "Marvel"24    },25    {26      "title": "Batman 1940 #232",27      "collection": "vintage-comics",28      "categorySlug": "dc_comics"29    },30    {31      "title": "BCW Comic Bags and Boards Current 100ct",32      "collection": "comics",33      "categorySlug": null34    }35  ]36});37
Files · e0d6c47e5aa347b26dd853d903e96b01e1bb2a96
Menu

Theme