Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Sep 19, 2023
1 parent cd614c1 commit 1f0e801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/supabase_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: ['12']
sdk: [2.17.0, stable, beta, dev]

defaults:
Expand Down
8 changes: 2 additions & 6 deletions packages/supabase/test/mock_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -512,16 +512,12 @@ void main() {
final stream = client
.from('todos')
.stream(primaryKey: ['id']).asyncMap((event) => event);
stream.listen(expectAsync1((event) {
print(event);
}, count: 5));
stream.listen(expectAsync1((event) {}, count: 5));

await Future.delayed(Duration(seconds: 3));

// All realtime events are done emitting, so should receive the currnet data
stream.listen(expectAsync1((event) {
print('called');
}, count: 1));
stream.listen(expectAsync1((event) {}, count: 1));
});

test('emits data with custom headers', () {
Expand Down

0 comments on commit 1f0e801

Please sign in to comment.