it('should set complete to false after the duration', rlFakeAsync((): void => {
		mockAction.flush();

		expect(complete).to.be.true;

		rlTick(COMPLETE_MESSAGE_DURATION);
		flushMicrotasks();

		expect(complete).to.be.false;
	}));
	it('should set successful to true if the request resolves successfully', rlFakeAsync((): void => {
		mockAction.flush();

		expect(saving).to.be.false;
		expect(complete).to.be.true;
		expect(successful).to.be.true;

		rlTick(COMPLETE_MESSAGE_DURATION);
		flushMicrotasks();
	}));
	it('should set successful to false if the promise fails', rlFakeAsync((): void => {
		mockAction = mock.rejectedRequest();
		autosaveAction.trigger(mockAction());
		mockAction.flush();

		expect(saving).to.be.false;
		expect(complete).to.be.true;
		expect(successful).to.be.false;

		rlTick(COMPLETE_MESSAGE_DURATION);
		flushMicrotasks();
	}));