1 import { getExcessiveNotificationsIndices } from './validateEventModel';
3 describe('getExcessiveNotificationsIndices()', () => {
4 it('should correctly identify notifications exceeding the MAX_NOTIFICATION limit', () => {
5 const result = getExcessiveNotificationsIndices([1, 2, 3, 4, 5, 6, 7], 3);
6 expect(result).toStrictEqual([3, 4, 5, 6]);