We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c941901 commit ec1f4a8Copy full SHA for ec1f4a8
1 file changed
test/ng/directive/ngClassSpec.js
@@ -152,13 +152,15 @@ describe('ngClass', function() {
152
element.addClass('foo');
153
$rootScope.dynCls = '';
154
$rootScope.$digest();
155
+ expect(element[0].className).toBe('ng-scope');
156
}));
157
158
159
it('should convert undefined and null values to an empty string', inject(function($rootScope, $compile) {
160
element = $compile('<div ng-class="dynCls"></div>')($rootScope);
161
$rootScope.dynCls = [undefined, null];
162
163
164
165
166
0 commit comments