We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0c98b commit 1a37e8fCopy full SHA for 1a37e8f
test/Scrollbars/rendering.js
@@ -92,10 +92,12 @@ export default function createTests(scrollbarWidth) {
92
<div style={{ width: 200, height: 200 }}/>
93
</Scrollbars>
94
), node, function callback() {
95
- const width = `-${scrollbarWidth}px`;
96
- expect(this.view.style.marginRight).toEqual(width);
97
- expect(this.view.style.marginBottom).toEqual(width);
98
- done();
+ setTimeout(() => {
+ const width = `-${scrollbarWidth}px`;
+ expect(this.view.style.marginRight).toEqual(width);
+ expect(this.view.style.marginBottom).toEqual(width);
99
+ done();
100
+ }, 100);
101
});
102
103
0 commit comments