Skip to content

Commit

Permalink
chore: wait image load
Browse files Browse the repository at this point in the history
  • Loading branch information
wssgcg1213 committed Apr 7, 2022
1 parent 460d548 commit 90c6ba2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions integration_tests/specs/css/css-flexbox/flex_shrink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ describe('flexbox flex-shrink', () => {
);

document.body.appendChild(container);
await snapshot(0.1);
await snapshot(0.2);
});

it('should work with flex item with overflow hidden', async () => {
Expand Down Expand Up @@ -904,7 +904,7 @@ describe('flexbox flex-shrink', () => {
boxSizing: 'border-box',
},
}, [

]),
createElement(
'div',
Expand All @@ -917,7 +917,7 @@ describe('flexbox flex-shrink', () => {
boxSizing: 'border-box',
},
}, [

]),
createElement(
'div',
Expand All @@ -930,7 +930,7 @@ describe('flexbox flex-shrink', () => {
boxSizing: 'border-box',
},
}, [

]),
createElement(
'div',
Expand All @@ -943,7 +943,7 @@ describe('flexbox flex-shrink', () => {
boxSizing: 'border-box',
},
}, [

]),
createElement(
'div',
Expand All @@ -956,11 +956,11 @@ describe('flexbox flex-shrink', () => {
boxSizing: 'border-box',
},
}, [

]),
])
]);

BODY.appendChild(div);

await snapshot();
Expand Down Expand Up @@ -998,7 +998,7 @@ describe('flexbox flex-shrink', () => {
boxSizing: 'border-box',
},
}, [

]),
createElement(
'div',
Expand All @@ -1011,7 +1011,7 @@ describe('flexbox flex-shrink', () => {
boxSizing: 'border-box',
},
}, [

]),
createElement(
'div',
Expand All @@ -1024,7 +1024,7 @@ describe('flexbox flex-shrink', () => {
boxSizing: 'border-box',
},
}, [

]),
createElement(
'div',
Expand All @@ -1037,7 +1037,7 @@ describe('flexbox flex-shrink', () => {
boxSizing: 'border-box',
},
}, [

]),
createElement(
'div',
Expand All @@ -1050,11 +1050,11 @@ describe('flexbox flex-shrink', () => {
boxSizing: 'border-box',
},
}, [

]),
])
]);

BODY.appendChild(div);

await snapshot();
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/specs/css/css-sizing/block-fit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ describe('block-fit', () => {
);
BODY.appendChild(parent);

await snapshot();
await snapshot(0.2);
});
});

0 comments on commit 90c6ba2

Please sign in to comment.