SPB Git

spb/rareindex

Public
1.1 KB · 33 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 * Martian Toys — 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/martian-toys/ (runFixtureSuite invariants + USD currency, seller, SKUs, ended variants).10 */11describeShopifyStore(meta, createConnector, { describe, it, expect }, {12  "cases": [13    {14      "title": "DR76 by Dragon76 x Martian Toys",15      "productType": "vinyl toy",16      "collection": "designer-toys",17      "categorySlug": "designer_toys"18    },19    {20      "title": "Martian Toys Logo T-Shirt",21      "productType": "Apparel",22      "collection": "designer-toys",23      "categorySlug": null24    },25    {26      "title": "Santarchy Art Print 11x17",27      "productType": "Prints",28      "collection": "designer-toys",29      "categorySlug": null30    }31  ]32});33
Files · f83c5da5cb0efde9d75cc62be156c52ca2afe623
Menu

Theme