Randomized response on each Cypress.io cy.route() call

前端 未结 0 1158
忘掉有多难
忘掉有多难 2020-12-07 00:37

Using Cypress.io for end to end testings, I am trying to mock an API endpoint in which I am will to get 0 with probability 0.5 and 1 with probability 0.5 for each call. Howe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题