Quantcast
Channel: Chutzpah - A JavaScript Test Runner
Viewing all articles
Browse latest Browse all 1864

Edited Unassigned: Test disappears when trying to test angularjs controller with mocha/chai and injecting [279]

$
0
0
When trying to test angular controller inject makes tests disappear. This happens when using mocha and chai. I haven't had this problem with jasmine. The problem can be reproduced when using chutzpah from command prompt and running chutzpah.json from attached file

zip-file inculdes basic angular controller, related files and actual test in ./Test/ControllerTest.js where injecting is currently on. If injecting is commented out, the test is shown fine. If it is left as it is now, test is not shown

Chutzpah version being used is 3.2.2.0


Viewing all articles
Browse latest Browse all 1864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>