Skip to content

Commit

Permalink
Update packages/powersync/test/streaming_sync_test.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Mughees Khan <mugikhan@gmail.com>
  • Loading branch information
stevensJourney and mugikhan authored Oct 30, 2024
1 parent 5e35907 commit fa49b64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/powersync/test/streaming_sync_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ class TestConnector extends PowerSyncBackendConnector {

@override
Future<void> uploadData(PowerSyncDatabase database) async {
if (_uploadData != null) {
await _uploadData(database);
}
await _uploadData?.call(database);
}
}

Expand Down

0 comments on commit fa49b64

Please sign in to comment.