ionic-mocks
ionic-mocks copied to clipboard
Make object properties spyable
I don't know if spying on the property of a spyObject poses an issue but it should be possible.
https://github.com/jasmine/jasmine/blob/7f8f2b5e7a7af70d7f6b629331eb6fe0a7cb9279/src/core/requireInterface.js#L199
https://stackoverflow.com/questions/20879990/how-to-spyon-a-value-property-rather-than-a-method-with-jasmine