Updated Angular library dependency to 1.6.2.
Fixed all failing tests by either updating the tests and/or updating the directives.
Most (all?) failures were coming from the fact that angular is now not adding dummy span element with ng-scope class. Tests have been expecting this SPAN to be present, thus selectors were not returning proper elements and/or assertions on children count were offset by 1 mostly.
In uif-button directive I had to change the way labels are handled, because previously label was considered to be a span, but that's not longer the case.
Fix for each directive has separate commit for easier review (I hope @andrewconnell will forgive me 😄 )
Coverage increased (+0.002%) to 97.764% when pulling 77f3047d3d4a2453cc7f09170840e327e51b34a0 on jjczopek:angular-1.6-#431 into e2c6b43099037d7c8d8c13a9011bbe91f29df2c5 on ngOfficeUIFabric:dev.
Updated Angular library dependency to 1.6.2. Fixed all failing tests by either updating the tests and/or updating the directives.
Most (all?) failures were coming from the fact that angular is now not adding dummy
span
element withng-scope
class. Tests have been expecting this SPAN to be present, thus selectors were not returning proper elements and/or assertions on children count were offset by 1 mostly.In
uif-button
directive I had to change the way labels are handled, because previously label was considered to be aspan
, but that's not longer the case.Fix for each directive has separate commit for easier review (I hope @andrewconnell will forgive me 😄 )