SPB Git forge

spb/rareindex

Public
54commits 1branches 0releases
7.1 MBsize
maindefault branch
10 days agolast push
TypeScript 61.9% HTML 37.2% SQL 0.7%
1.3 KB · 40 lines typescript
Raw Blame History
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 * Livestock — 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/livestock/ (runFixtureSuite invariants + CAD currency, seller, SKUs, ended variants).10 */11describeShopifyStore(meta, createConnector, { describe, it, expect }, {12  "probeType": "Footwear",13  "cases": [14    {15      "title": "adidas Adizero EVO SL Zip White / Orbit Grey",16      "productType": "Footwear",17      "collection": "footwear",18      "categorySlug": "adidas_yeezy"19    },20    {21      "title": "Birkenstock Boston / Stone Blue Suede",22      "productType": "Footwear",23      "collection": "footwear",24      "categorySlug": null25    },26    {27      "title": "Nike Dunk Low Retro White / Black",28      "productType": "Footwear",29      "collection": "footwear",30      "categorySlug": "nike_jordan"31    },32    {33      "title": "adidas Firebird Track Jacket",34      "productType": "Apparel",35      "collection": "footwear",36      "categorySlug": null37    }38  ]39});40