Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-P committed Jun 9, 2024
1 parent c75abff commit 5172c71
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ void main() {
when(() => rawEditor.keyboardAppearance).thenReturn(Brightness.light);
when(() => rawEditor.textCapitalization)
.thenReturn(TextCapitalization.none);
when(() => rawEditor.autofocus).thenReturn(true);
when(() => rawEditor.enableSuggestions).thenReturn(true);
when(() => rawEditor.enableInteractiveSelection).thenReturn(true);
when(() => controller.replaceText(any(), any(), any(),
selection: any(named: 'selection'))).thenReturn(null);
editorState.openConnectionIfNeeded();
Expand Down

0 comments on commit 5172c71

Please sign in to comment.