mercredi 16 septembre 2015

Error while testing Ember Components

I want to test my ember component. I am not using ember-cli.I followed what was given in ember guidelines. But this.subject() method is undefined. Also, I got the following error

setUp failed on <test-case-name> : assert.async is not a function
Died on test #2 : this.render is not a function
TearDown Failed on <test-case-name> : assert.async is not a function

I haven't used any async functions. In my test-case, I wrote a single line this.render() alone.

Thanks in Advance, KuKa

Aucun commentaire:

Enregistrer un commentaire