Karma test case custom directives

7 views
Skip to first unread message

saurabh behl

unread,
Jun 28, 2016, 8:26:11 AM6/28/16
to AngularJS
i have a cusom directive named <require permission> as the name suggests its hidden. i want to write a karma test case while triggering the link for it i.e it should open the url when i click on the link . i have mocked the html but i dont get the anchor tag in which the directive is passed. it is hidden . suggest something .
Reply all
Reply to author
Forward
0 new messages