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 · 39 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 * Mondo — 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/mondo/ (runFixtureSuite invariants + USD currency, seller, SKUs, ended variants).10 */11describeShopifyStore(meta, createConnector, { describe, it, expect }, {12  "cases": [13    {14      "title": "Sin City - Original Motion Picture Soundtrack",15      "productType": "Vinyl",16      "collection": "soundtracks",17      "categorySlug": "music"18    },19    {20      "title": "Teenage Mutant Ninja Turtles - Leonardo 1/6 Scale Figure",21      "productType": "1/6 Scale",22      "collection": "collectibles",23      "categorySlug": "action_figures"24    },25    {26      "title": "Godzilla Soft Vinyl - Burning Edition",27      "productType": "Soft Vinyl",28      "collection": "collectibles",29      "categorySlug": "designer_toys"30    },31    {32      "title": "The Thing Enamel Pin Set",33      "productType": "Pins",34      "collection": "collectibles",35      "categorySlug": null36    }37  ]38});39