Skip to content

Commit

Permalink
✅ test: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wssgcg1213 committed Sep 16, 2021
1 parent a73ca36 commit 08371ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration_tests/specs/css/css-position/right-004.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ describe('right-004', () => {
BODY.appendChild(p);
BODY.appendChild(div);

await snapshot();
await snapshot(0.1);
});
});
4 changes: 2 additions & 2 deletions integration_tests/specs/dom/elements/img.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,7 @@ describe('Tags img', () => {
it('gif can replay', async (done) => {
const imageURL = 'assets/sample-gif-40k.gif';
const img = document.createElement('img');
img.src = imageURL;


img.onload = async () => {
await snapshot(img);
document.body.removeChild(img);
Expand All @@ -308,5 +307,6 @@ describe('Tags img', () => {
};

document.body.appendChild(img);
img.src = imageURL;
});
});

0 comments on commit 08371ff

Please sign in to comment.