Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa41fc2

Browse files
committed
test fix for gridstack#1001
making sure yarn test still works (now returns main doc if no explicit scrolling parent)
1 parent 1b55b81 commit aa41fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/utils-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ describe('gridstack utils', function() {
123123
expect(el.style.position).toEqual('');
124124

125125
// bogus test
126-
expect(Utils.getScrollParent(el)).toEqual(null);
126+
expect(Utils.getScrollParent(el)).not.toBe(null);
127127
// bogus test
128128
Utils.updateScrollPosition(el, {top: 20}, 10);
129129
});

0 commit comments

Comments
 (0)