Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/fleather/test/widgets/editor_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ void main() {
final newInput = 'Line1\nLine2';
controller.replaceText(0, 0, newInput,
selection: TextSelection.collapsed(offset: newInput.length));
await tester.pump(throttleDuration);
await tester.pumpAndSettle(Duration(milliseconds: 200));
Comment thread
Amir-P marked this conversation as resolved.
Outdated
expect(scrollController.position.pixels,
greaterThan(initialScrollPosition));
});
Expand Down Expand Up @@ -1718,7 +1718,7 @@ void main() {
final newInput = 'Line1\nLine2';
controller.replaceText(0, 0, newInput,
selection: TextSelection.collapsed(offset: newInput.length));
await tester.pump(throttleDuration);
await tester.pumpAndSettle(Duration(milliseconds: 200));
Comment thread
Amir-P marked this conversation as resolved.
Outdated
expect(scrollController.position.pixels,
greaterThan(initialScrollPosition));
});
Expand Down