Skip to content

Commit

Permalink
$().height() -> $().css('height')
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadain committed Feb 6, 2018
1 parent 8484abf commit 13bd7ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mmw/js/src/core/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ describe('Core', function() {
var views = createTransitionRegionWithAnimatedHeightView('50%', '0%');

views.testSubView.on('animateIn', function() {
assert.equal($('.test-subview').height(), 50);
assert.equal($('.test-subview').css('height'), '50%');
views.destroy();
done();
});
Expand All @@ -460,7 +460,7 @@ describe('Core', function() {
var views = createTransitionRegionWithAnimatedHeightView('50%', '0%');

views.testSubView.on('animateOut', function() {
assert.equal($('.test-subview').height(), 0);
assert.equal($('.test-subview').css('height'), '0%');
views.destroy();
done();
});
Expand Down

0 comments on commit 13bd7ec

Please sign in to comment.