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 · 37 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 * Cardboard Memories — 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/cardboard-memories/ (runFixtureSuite invariants + CAD currency, seller, SKUs, ended variants).10 */11describeShopifyStore(meta, createConnector, { describe, it, expect }, {12  "cases": [13    {14      "title": "Upper Deck - 2021-22 - Hockey - Series 1 - Trading Card Hobby Box",15      "productType": "Sports Cards",16      "collection": "hockey-cards",17      "categorySlug": "hockey_cards"18    },19    {20      "title": "2023 Panini Prizm Football Blaster Box",21      "productType": "Sports Cards",22      "collection": "sports-cards",23      "categorySlug": "football_cards"24    },25    {26      "title": "Ultra Pro One-Touch Magnetic Holder 35pt",27      "collection": "hockey-cards",28      "categorySlug": null29    },30    {31      "title": "Amazing Spider-Man #300 Facsimile",32      "collection": "comic-books",33      "categorySlug": "marvel_comics"34    }35  ]36});37