File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -416,6 +416,12 @@ describe('ios-watch', () => {
416416 expect ( intentsSource ) . toContain ( 'static var openAppWhenRun: Bool { true }' ) ;
417417 expect ( intentsSource ) . toContain ( '.foreground(.immediate)' ) ;
418418 expect ( intentsSource ) . not . toContain ( 'AudioRecordingIntent' ) ;
419+ const intentDescriptions = Array . from (
420+ intentsSource . matchAll ( / I n t e n t D e s c r i p t i o n \( " ( [ ^ " ] + ) " \) / g) ,
421+ ( match ) => match [ 1 ] ,
422+ ) ;
423+ expect ( intentDescriptions . length ) . toBeGreaterThan ( 0 ) ;
424+ expect ( intentDescriptions . every ( ( description ) => ! / \b a p p l e \b / i. test ( description ) ) ) . toBe ( true ) ;
419425 expect ( widgetSource ) . toContain ( '.accessoryCircular' ) ;
420426 expect ( widgetSource ) . toContain ( '.accessoryRectangular' ) ;
421427 expect ( widgetSource ) . toContain ( '.accessoryInline' ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ extension Notification.Name {
88@available ( watchOS 10 . 0 , * )
99struct MindwtrOpenWatchCaptureIntent : AppIntent {
1010 static var title : LocalizedStringResource = " Capture in Mindwtr "
11- static var description = IntentDescription ( " Opens Mindwtr on Apple Watch for dictation or audio capture. " )
11+ static var description = IntentDescription ( " Opens Mindwtr for dictation or audio capture. " )
1212
1313 #if compiler(>=6.0)
1414 @available ( watchOS 26 . 0 , * )
@@ -31,7 +31,7 @@ struct MindwtrOpenWatchCaptureIntent: AppIntent {
3131@available ( watchOS 10 . 0 , * )
3232struct MindwtrStartWatchPomodoroIntent : AppIntent {
3333 static var title : LocalizedStringResource = " Start Mindwtr Focus Timer "
34- static var description = IntentDescription ( " Starts the current Mindwtr Pomodoro timer from Apple Watch . " )
34+ static var description = IntentDescription ( " Starts the current Mindwtr Pomodoro timer. " )
3535
3636 #if compiler(>=6.0)
3737 @available ( watchOS 26 . 0 , * )
You can’t perform that action at this time.
0 commit comments