@jeremyckahn/farmhand
Version:
A farming game
16 lines (10 loc) • 332 B
JavaScript
import { testState } from '../../test-utils/index.js'
import { applyCrows } from './applyCrows.js'
import { processNerfs } from './processNerfs.js'
vitest.mock('./applyCrows.js')
describe('processNerfs', () => {
it('invokes applyCrows', () => {
processNerfs(testState())
expect(applyCrows).toHaveBeenCalled()
})
})