Clean up leaky test. (#151131)
This commit is contained in:
committed by
GitHub
parent
5f7564d989
commit
745d2b4d2a
@@ -3586,6 +3586,7 @@ void main() {
|
||||
|
||||
testWidgets('Drag and drop - unmounting overlay ends drag gracefully', (WidgetTester tester) async {
|
||||
final ValueNotifier<bool> mountedNotifier = ValueNotifier<bool>(true);
|
||||
addTearDown(mountedNotifier.dispose);
|
||||
|
||||
await tester.pumpWidget(ValueListenableBuilder<bool>(
|
||||
valueListenable: mountedNotifier,
|
||||
|
||||
Reference in New Issue
Block a user