@@ -29,10 +29,9 @@ test("formatCalendarReminder: includes all fields", () => {
2929 expect ( markdown ) . toContain ( "in 5 min" ) ;
3030 expect ( markdown ) . toContain ( "Engineering" ) ;
3131 expect ( markdown ) . toContain ( "Conference Room A" ) ;
32- expect ( markdown ) . toContain ( "https://meet.google.com/abc-defg-hij" ) ;
33- expect ( markdown ) . toContain ( "Join video call" ) ;
32+ expect ( markdown ) . toContain ( "[Team Standup](https://meet.google.com/abc-defg-hij)" ) ;
3433 expect ( markdown ) . toContain ( "Daily sync to discuss progress" ) ;
35- expect ( markdown ) . toContain ( "https://calendar.google.com/event?eid=abc123 " ) ;
34+ expect ( markdown ) . not . toContain ( "https://calendar.google.com/event" ) ;
3635} ) ;
3736
3837test ( "formatCalendarReminder: handles missing optional fields" , ( ) => {
@@ -50,7 +49,7 @@ test("formatCalendarReminder: handles missing optional fields", () => {
5049 expect ( markdown ) . toContain ( "in 3 min" ) ;
5150 expect ( markdown ) . toContain ( "Work" ) ;
5251 expect ( markdown ) . not . toContain ( "Location" ) ;
53- expect ( markdown ) . not . toContain ( "Join video call " ) ;
52+ expect ( markdown ) . not . toContain ( "meet.google.com " ) ;
5453} ) ;
5554
5655test ( "formatCalendarReminder: truncates long description" , ( ) => {
@@ -103,8 +102,7 @@ test("formatCalendarReminder: uses conferenceData when no hangoutLink", () => {
103102
104103 const { markdown } = formatCalendarReminder ( event , "Cal" , 3 ) ;
105104
106- expect ( markdown ) . toContain ( "https://zoom.us/j/123456" ) ;
107- expect ( markdown ) . toContain ( "Join video call" ) ;
105+ expect ( markdown ) . toContain ( "[Team Standup](https://zoom.us/j/123456)" ) ;
108106} ) ;
109107
110108// isAllDayEvent tests
0 commit comments