SPB Git

spb/rareindex

Public
1.4 KB · 41 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 * Toy Tokyo — 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/toy-tokyo/ (runFixtureSuite invariants + USD currency, seller, SKUs, ended variants).10 */11describeShopifyStore(meta, createConnector, { describe, it, expect }, {12  "cases": [13    {14      "title": "Funko Pop! Television: Ultraman #764 Glow in the Dark SDCC 2019 Toy Tokyo Exclusive",15      "productType": "FUNKO",16      "collection": "funko",17      "categorySlug": "funko",18      "brand": "Funko"19    },20    {21      "title": "MEDICOM TOY: BE@RBRICK - Bape Camo Shark 400%",22      "productType": "MEDICOM TOY",23      "collection": "be-rbricks",24      "categorySlug": "designer_toys",25      "brand": "Medicom Toy"26    },27    {28      "title": "Funko Pop! Star Wars: Darth Vader #01 Toy Tokyo Exclusive",29      "collection": "star-wars",30      "categorySlug": "funko",31      "franchise": "Star Wars"32    },33    {34      "title": "Toy Tokyo Enamel Pin - Logo",35      "productType": "Accessories",36      "collection": "funko",37      "categorySlug": null38    }39  ]40});41
Files · f83c5da5cb0efde9d75cc62be156c52ca2afe623
Menu

Theme