Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / applications / calendar / src / app / components / eventModal / eventForm / validateEventModel.spec.js
blob5077e29cc6e4d905833ae13479d508546915db16
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]);
7     });
8 });