i create some TS error in my test (spec file) such:
let num: number = "dsds"
.
- i run the ng test and the test is successful... why?
- i expected to get some TS error in the terminal
- What i need to do to enable this behavior (the TS catch error) when running tests?
- Details:
- @angular/cli: 1.0.0-beta.31
- node: 6.9.2
- os: win32 x64
- @angular/common: 2.4.7
- @angular/compiler: 2.4.7
- @angular/core: 2.4.7
- @angular/forms: 2.4.7
- @angular/http: 2.4.7
- @angular/platform-browser: 2.4.7
- @angular/platform-browser-dynamic: 2.4.7
- @angular/router: 3.4.7
- @angular/cli: 1.0.0-beta.31
- @angular/compiler-cli: 2.4.7