@ -379,8 +379,10 @@ describe('Upload', () => {
);
const clearIntervalSpy = jest.spyOn(global, 'clearInterval');
expect(clearIntervalSpy).not.toHaveBeenCalled();
clearIntervalSpy.mockRestore();
wrapper.unmount();
expect(clearIntervalSpy).toHaveBeenCalled();
});
it('corrent dragCls when type is drag', () => {