chore: Update test to fix useRealTimer

This commit is contained in:
zombiej 2019-12-26 17:07:59 +08:00
parent a178810ece
commit c5df5c1547

View File

@ -29,6 +29,10 @@ describe('Form', () => {
wrapper.update();
}
beforeAll(() => {
jest.useRealTimers();
});
beforeEach(() => {
scrollIntoView.mockReset();
});