We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 623af60 commit e792abbCopy full SHA for e792abb
packages/powersync_core/test/watch_test.dart
@@ -83,9 +83,10 @@ void main() {
83
lastCount = count;
84
}
85
86
- // The number of read queries must not be greater than the number of writes overall.
+ // The number of read queries must not be greater than the number of
87
+ //writes overall, plus one for an initial read.
88
expect(numberOfQueries,
- lessThanOrEqualTo(results.last.first['count'] as int));
89
+ lessThanOrEqualTo((results.last.first['count'] as int) + 1));
90
91
DateTime? lastTime;
92
for (var r in times) {
0 commit comments