Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit f68f574

Browse files
committed
refactor(test): make sure grid service test is fully covered
1 parent c6662dd commit f68f574

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/modules/angular-slickgrid/services/__tests__/grid.service.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,11 +875,12 @@ describe('Grid Service', () => {
875875

876876
setTimeout(() => {
877877
expect(getItemSpy).toHaveBeenCalledWith(2);
878+
expect(updateSpy).toHaveBeenCalledTimes(3);
878879
expect(updateSpy).toHaveBeenCalledWith(mockColumn.id, mockColumn);
879880
expect(renderSpy).toHaveBeenCalled();
880881
expect(getIndexSpy).toHaveBeenCalled();
881882
done();
882-
}, 2);
883+
}, 5);
883884
});
884885
});
885886

0 commit comments

Comments
 (0)