UNPKG

@jeremyckahn/farmhand

Version:
17 lines (14 loc) 429 B
import { scarecrow } from '../data/items.js' import { getAvailableShopInventory } from './getAvailableShopInventory.js' describe('getAvailableShopInventory', () => { test('computes shop inventory that has been unlocked', async () => { expect( getAvailableShopInventory({ items: {}, sprinklerRange: 0, tools: {}, stageFocusType: {}, } as any) ).toEqual([scarecrow]) }) })