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 1e8679c commit 9ac92fcCopy full SHA for 9ac92fc
tests/StrictMode.spec.tsx
@@ -50,13 +50,15 @@ describe('StrictMode', () => {
50
act(() => {
51
jest.runAllTimers();
52
});
53
+ expect(ref.current.inMotion()).toBeTruthy();
54
expect(node).not.toHaveClass('transition-appear-start');
55
expect(node).toHaveClass('transition-appear-active');
56
57
// Trigger End
58
fireEvent.transitionEnd(node);
59
expect(node).not.toHaveClass('transition-appear');
60
61
+ expect(ref.current.inMotion()).toBeFalsy();
62
expect(ref.current.nativeElement).toBe(node);
63
64
0 commit comments