Fail Karma tests if there are pending requests left
After a Karma test finished, there should be no pending requests as their response will not be processed and may influence the tests that follow.
Currently there are almost 100 tests with pending requests: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/91843565 (https://gitlab.com/gitlab-org/gitlab-ce/compare/master...winh-fail-pending-requests).
We should cleanup those tests and fail for pending requests.
Edited by Inactive Account