Results 53 comments of Mehul

`apps/web/test/lib/getSchedule.test.ts > getSchedule > User Event > afterBuffer and beforeBuffer tests for seated event - Non Cal Busy Time` is failing because we are subtracting formattedBusyTimes (GMT) from dateRanges (any...

I marked the PR ready as I need some help regarding Prisma mock returning `underfined`.

> Fix looks pretty good already, but found one more issue. Could you take a look at that? Also, would be great to cover this case in a test as...

By setting `declaration: false` you just lose intellisense. You can read more about it [here](https://www.typescriptlang.org/tsconfig#declaration)

![Approaches](https://github.com/calcom/cal.com/assets/86384652/8ed4d306-8b34-4e95-8b43-e3f3b32564df) This [commit](https://github.com/calcom/cal.com/pull/13526/commits/028d2ce55f3e36591b9247722490e6effce3c0f3) is according to 2nd approach. As I looked into limits more, I think it might be better to go with the 1st approach. What do you guys...

@keithwillcode Sorry, I have been busy past couple days. This PR contains some bugs which I have resolved locally, just have to test them thoroughly.

![image](https://github.com/calcom/cal.com/assets/86384652/2d6ad14b-56d8-4437-a023-cae72538b7f9) So for a long time, these particular tests were always failing for me (main branch with no changes). At that time I was not able to figure out why...

https://github.com/calcom/cal.com/assets/86384652/87e23780-d943-432d-b6a5-34fdf3a675ac It looks like it is related to timezone. I will look into this bit more.

![Question](https://github.com/calcom/cal.com/assets/86384652/8d4be513-ac9d-45ee-bbdb-e06d4d360017) Can anyone confirm what should be the case when both before event buffer and after event buffer are applied on an event. https://github.com/calcom/cal.com/blob/0a795f5363b82fd5a5b6ffa1a4fa31a035a3f44f/apps/web/test/lib/getSchedule.test.ts#L584-L596 The test suggests - 4-6 am...

> ![Question](https://private-user-images.githubusercontent.com/86384652/305639473-8d4be513-ac9d-45ee-bbdb-e06d4d360017.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDgxNzAyMDksIm5iZiI6MTcwODE2OTkwOSwicGF0aCI6Ii84NjM4NDY1Mi8zMDU2Mzk0NzMtOGQ0YmU1MTMtYWM5ZC00NWVlLWJiZGItZTA2ZDRkMzYwMDE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMjE3VDExMzgyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmZjYwY2ZjOGY1N2I5NjRjMWE5N2NlY2Q4NDYxMmM0MzE2NzE2OTViZjlkNzlhN2QxYmRhNzU2ZDJjZjk0MTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ndFtDL59az5k_tdwHNo_V2xMd_fMBbfAsR8gYTQlSFU) > > Can anyone confirm what should be the case when both before event buffer and after event buffer are applied on an event. > > https://github.com/calcom/cal.com/blob/0a795f5363b82fd5a5b6ffa1a4fa31a035a3f44f/apps/web/test/lib/getSchedule.test.ts#L584-L596 >...