Build stuck "running"


#1

I am running Angular 5.2 and have 11 unit tests that all pass in the circleci build…but its at this point that the build never reaches the “passed” phase and I get the below error in the console after the last test has passed.

error:
Too long with no output (exceeded 10m0s)

The build basically stays running for over 10mins even if the tests only took 1min to run and when the error message pops up the build finally fails

What am I doing wrong?


#2

OK I fixed it! :slight_smile:

Essentially I had to replace :
“test”: “ng test”,
with
"test": “ng test --watch false”,

Inside my package.json

Now my test stops after its run and the build reaches a green “Fixed” state!! Whoop!!

J


#3