cla-bot icon indicating copy to clipboard operation
cla-bot copied to clipboard

fragile tests

Open ColinEberhardt opened this issue 7 years ago • 0 comments

There are a few things that are making the tests fragile:

  • [ ] The mock request provides a response for each request. However, there is nothing checking that each of these mocked requests are actually invoked. The tests should check that after each spec, each and every expected HTTP request was issues.
  • [ ] If a request is made for a URL that is not mocked, the test failures are a little hard to follow, and often fail after the jasmine timeout.

ColinEberhardt avatar Jun 01 '17 10:06 ColinEberhardt