Skip to content

Commit 8378957

Browse files
committed
chore: tweaks
1 parent ab9438c commit 8378957

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/basic/components/__tests__/AnimatedView.tsx renamed to examples/basic/components/__tests__/AnimatedView.test.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe('AnimatedView', () => {
1717
</AnimatedView>,
1818
);
1919
expect(screen.root).toHaveStyle({ opacity: 0 });
20+
2021
await act(() => jest.advanceTimersByTime(250));
2122
expect(screen.root).toHaveStyle({ opacity: 1 });
2223
});
@@ -28,6 +29,7 @@ describe('AnimatedView', () => {
2829
</AnimatedView>,
2930
);
3031
expect(screen.root).toHaveStyle({ opacity: 0 });
32+
3133
await act(() => jest.advanceTimersByTime(250));
3234
expect(screen.root).toHaveStyle({ opacity: 1 });
3335
});

0 commit comments

Comments
 (0)