Skip to content

Commit

Permalink
fix: 修复单测
Browse files Browse the repository at this point in the history
  • Loading branch information
xuying.xu committed Jul 10, 2024
1 parent 1474032 commit d10e612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/f-engine/test/timeline/keyFrames.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ describe('player', () => {
await delay(800);

const shape = canvas.container.childNodes[1].childNodes[0].childNodes[0];
//@ts-ignore
expect(Number(shape.style.width)).toBeGreaterThan(10);
//@ts-ignore 初始状态10px = 5
expect(Number(shape.style.width)).toBeGreaterThan(5);
});

it('播放中finish', async () => {
Expand Down

0 comments on commit d10e612

Please sign in to comment.