mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
chore: Update test to fix useRealTimer
This commit is contained in:
parent
a178810ece
commit
c5df5c1547
@ -29,6 +29,10 @@ describe('Form', () => {
|
||||
wrapper.update();
|
||||
}
|
||||
|
||||
beforeAll(() => {
|
||||
jest.useRealTimers();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
scrollIntoView.mockReset();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user