vendredi 16 février 2018

Using Function of Type in HTML, got error in Karma Test

Hey i created a class with a function thats returns combined values like Firstname Lastname or address and using it as a Type for a var

somedata: classA = { someother data }. 

i call the function in the HTML with



it works fine, but in my karma tests i got these error

_co.someData.getDisplayAddress is not a function

Aucun commentaire:

Enregistrer un commentaire