Any help for creating a test to avoid further regression would be much appreciated.
While all tests pass, they do not actually test the binding and the creation of the calendarWatchEvent function on the directive scope. They only test that if a calendarWatchEvent function is correctly defined, it will be called.
FIX: calendar-watch-event " & " directive binding needs a function call in the markup and a map of argument when its called in JS
See angular doc for directives: https://docs.angularjs.org/guide/directive and the plunkr of the example with the close-dialog which illustrates '& binding': http://plnkr.co/edit/wdDvC9GSXgsW0nA5UdbR?p=preview
Any help for creating a test to avoid further regression would be much appreciated. While all tests pass, they do not actually test the binding and the creation of the calendarWatchEvent function on the directive scope. They only test that if a calendarWatchEvent function is correctly defined, it will be called.