You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing environment has been setup with gulp and karma
Only tests for the compile directive have been added (in tests/compile-directive.tests.js)
The rest of the project completely lacks tests
I've put some effort in trying to write tests for the main modal-select directive, but couldn't get to a good solution about testing the code.
Sadly, this reflects my poor experience with testing of js code of a component like this one. This case, in particular, is hard to handle for me for the followin reason: It's not very clear to me how to test the component without user interaction, as it has very strong dependencies on some ionic directives and services such as $ionicModalSelect and collection-repeat
Anyone can help on this?
The text was updated successfully, but these errors were encountered:
The situation about tests is the following:
compile
directive have been added (intests/compile-directive.tests.js
)I've put some effort in trying to write tests for the main
modal-select
directive, but couldn't get to a good solution about testing the code.Sadly, this reflects my poor experience with testing of js code of a component like this one. This case, in particular, is hard to handle for me for the followin reason: It's not very clear to me how to test the component without user interaction, as it has very strong dependencies on some ionic directives and services such as
$ionicModalSelect
andcollection-repeat
Anyone can help on this?
The text was updated successfully, but these errors were encountered: