mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: update wait response time
This commit is contained in:
parent
299e771877
commit
54826da701
@ -105,7 +105,7 @@ class AppFlowyGridCellTest {
|
||||
rowInfo: rowInfo,
|
||||
dataController: rowDataController,
|
||||
)..add(const RowEvent.initial());
|
||||
await gridResponseFuture(milliseconds: 300);
|
||||
await gridResponseFuture();
|
||||
|
||||
return GridCellControllerBuilder(
|
||||
cellId: rowBloc.state.gridCellMap[fieldId]!,
|
||||
@ -115,10 +115,10 @@ class AppFlowyGridCellTest {
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> gridResponseFuture({int milliseconds = 200}) {
|
||||
return Future.delayed(gridResponseDuration(milliseconds: milliseconds));
|
||||
Future<void> gridResponseFuture() {
|
||||
return Future.delayed(gridResponseDuration(milliseconds: 500));
|
||||
}
|
||||
|
||||
Duration gridResponseDuration({int milliseconds = 200}) {
|
||||
Duration gridResponseDuration({int milliseconds = 500}) {
|
||||
return Duration(milliseconds: milliseconds);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user