-
Notifications
You must be signed in to change notification settings - Fork 27.5k
During unit test, directive template is not being replaced when replace: true is set #3245
Comments
See #1859 |
@pheuter Your plunker is missing a template for a directive ( |
@pkozlowski-opensource The template is cached in views.js |
OK, I see. So, the problem is in your test. You were trying to use class-based selectors while the build-in jqLite Just include jQuery and your test start to work: http://plnkr.co/edit/lBvAkNgYTaEMEHqW3yMZ?p=preview |
@pkozlowski-opensource I updated the plunk with an As you can see, the problem of the directive not being replaced with the template is still prevalent. That's the core of the problem. |
You are missing |
Ah, I see. Thanks! |
As demonstrated in this plunk: http://plnkr.co/edit/ufrNwS3CPuFpDNy6LVoU?p=preview
The text was updated successfully, but these errors were encountered: