cla-bot
cla-bot copied to clipboard
fragile tests
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.