Skip to content

Commit

Permalink
Update the FAQ by explaining a bit about #27
Browse files Browse the repository at this point in the history
  • Loading branch information
badeball committed Mar 1, 2019
1 parent 5d52857 commit 11e8f96
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,23 @@ gulp.task('test', function (done) {
});
```

### I am using Angular CLI and the test suite hangs indefinitely

You might experience a [known issue][issue-27] where Karma attempts to perform
a synchronous request, resulting in a deadlock. Disable use of source-maps in
your tests, as shown below.

```
// angular.json
{
...
"test": {
"options": {
"sourceMap": false
```

----

For more information on Karma see the [homepage].
Expand All @@ -97,3 +114,4 @@ For more information on Karma see the [homepage].
[homepage]: http://karma-runner.github.com
[jsdom]: https://github.com/tmpvar/jsdom
[issue-4]: https://github.com/badeball/karma-jsdom-launcher/issues/4
[issue-27]: https://github.com/badeball/karma-jsdom-launcher/issues/27

0 comments on commit 11e8f96

Please sign in to comment.