What do jasmine runs and waitsFor actually do?

后端 未结 3 1805
渐次进展
渐次进展 2021-01-01 12:56

I use jasmine runs and wait to test asynchronous operations. Everything works fine but I\'m not quite sure what goes on behind the scenes.

The jasmine documentation

3条回答
  •  旧巷少年郎
    2021-01-01 13:43

    The solution is in the documentation:

    Multiple runs() blocks in a spec will run serially. (Jasmine Documentation)

提交回复
热议问题