For example: https://travis-ci.org/ampproject/amphtml/jobs/405408909#L1772
This should've been a Karma failure.
Edit: Turns out that Karma detected zero tests in the suite. As @cramforce says below, the fix for this is to fail when zero tests are detected.