Skip to content

Road map

dvabuzyarov edited this page Feb 19, 2020 · 12 revisions

Welcome to the moq.ts wiki!

  • Ability to play a setup for provided time and after that it would discarded. Implemented as 2.6.0.
.setup(instance => instance.some())
.play(PlayTimes.Once())
.returns(true)

instance.some() //returns true
instance.some() //the setup is not defined and the call result is not defined as result
Clone this wiki locally