mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 18:57:05 +08:00
Update widgets
This commit is contained in:
@@ -32,7 +32,7 @@ void main() {
|
||||
|
||||
// Since we can't actually perform drag-and-drop in a unit test,
|
||||
// we'll call the onDragDone callback directly
|
||||
dragAndDropArea.onFileDropped(testFile);
|
||||
dragAndDropArea.onFileDropped?.call(testFile);
|
||||
|
||||
await tester.pump();
|
||||
|
||||
@@ -42,4 +42,3 @@ void main() {
|
||||
expect(droppedFile?.path, 'test.curl');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user