lundi 20 août 2018

Sails.js unit test a component

I am using sails.js and have a working application. I have a component that I created and it's working fine, but I'd like to add a test for it. I want to send it some data and make sure it renders the data correctly.

I think all of the pieces are in place, but I can't seem to get my component into a test to test it.

I have tests for controllers and models working fine with mocha.

Aucun commentaire:

Enregistrer un commentaire