angular - ERROR in Entry module not found: Error: Can't resolve /src/test.ts -


i'am trying run unit test angular 2 app via: ng test, keep getting following error:

error in entry module not found: error: can't resolve   '/users/username/dev/dashboard/src/test.ts' in '/users/username/dev/dashboard/node_modules/@angular/cli/models/webpack-configs' 28 07 2017 15:18:35.337:warn [launcher]: chrome have not captured in 60000 ms, killing. 28 07 2017 15:18:35.441:info [launcher]: trying start chrome again (1/2). 28 07 2017 15:19:35.447:warn [launcher]: chrome have not captured in 60000 ms, killing. 28 07 2017 15:19:35.587:info [launcher]: trying start chrome again (2/2). 

the angular cli version (after npm update): @angular/cli: 1.2.6 , node version is: node: 8.0.0

the other commands: ng build -prod and: ng serve work fine without errors , can access app on browser.

one thing have mention couple of days ago, did remove .spec.ts files folders methods:

describe(), beforeeach(), it() 

couldn't found. after searching, found app wouldn't break when removing them, today did create them once again run unit test app.

any idea please?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -