Closed getsaf closed 6 years ago
const dummy = { funk: () => ({stuff: [{foo: 1}, {foo: 2}, {foo: 3}]}) }; const mockDummy = Mock.of<typeof dummy>({ funk: () => ({stuff: [{}]}) // <-- This fails!! });
Fixed by: 95ca19bae97d87e50fa14a7b7526409a25373916 Released in version 1.0.1