@jeremyckahn/farmhand
Version:
A farming game
17 lines (14 loc) • 429 B
text/typescript
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])
})
})