I got the same issues like you when "npm run test" with lots of spec files. Then I ope the console tab of Karma's browser and found that there were errors and fixed them. As a result, no error on the top any more.