# \[object ErrorEvent\] thrown by Karma in Angular Unit Tests

DevFeed: [\[object ErrorEvent\] thrown by Karma in Angular Unit Tests](<https://devfeed.tech/articles/object-errorevent-thrown-by-karma-in-angular-unit-tests-21331.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2018/07/object-errorthrown-karma/>)

Published: 2018-07-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Chrome](<https://devfeed.tech/topics/chrome.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [debug](<https://devfeed.tech/tags/debug.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [devtools](<https://devfeed.tech/tags/devtools.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [rxjs](<https://devfeed.tech/tags/rxjs.md>), [tests](<https://devfeed.tech/tags/tests.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

## AI overview

This tutorial explains how to diagnose the "[object ErrorEvent] thrown by Karma" message when running Angular unit tests. It recommends debugging with Chrome DevTools and disabling source maps with an Angular CLI flag when source maps contribute to cryptic errors.

## Source excerpt

Lorem ipsum dolor sit amet