fixes https://github.com/karma-runner/karma/issues/864