lathonez / clicker

Ionic 2 + @angular/cli Seed Project : Angular2 + Typescript + Karma + Protractor + Travis
http://lathonez.com/2018/ionic-2-unit-testing/
MIT License
430 stars 137 forks source link

What is the app property in "initialises with an app" test? #202

Closed amerzad closed 7 years ago

amerzad commented 7 years ago

Is there any links to explain where this property comes from? Also, there is an error appearing on this test when noImplicitAny is true, and I wanted to know the best way to solve this.

lathonez commented 7 years ago

The test was redundant from an old version. There is no app property, the test was passing (false positive) as not.toBe(null) is true for undefined

I've removed it: d12d8ca