it('should not repeat when last time to repeat', () => {
        makeComponent({ from: 3, to: 3, times: 1 });
        component.instance().handleRepeat(file);

        expect(setRepeat).to.have.been.called; // eslint-disable-line