Skip to content

Commit 2e6eb23

Browse files
committed
update config_test for the new autosize logic
1 parent ef6e8a5 commit 2e6eb23

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/jasmine/tests/config_test.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ describe('config argument', function() {
4747
width: layoutWidth
4848
};
4949
var relayout = {
50-
width: relayoutWidth
50+
width: relayoutWidth,
51+
// didn't need this before #3120 - but since we're now
52+
// implicitly clearing autosize when edit width, if you really
53+
// want height to re-autosize you need to explicitly re-add
54+
// autosize
55+
autosize: autosize
5156
};
5257

5358
var layout2 = Lib.extendDeep({}, layout);

0 commit comments

Comments
 (0)