Skip to content

Commit

Permalink
✅ Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Dec 31, 2024
1 parent d0093e7 commit d1f6bcf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/reown_core/test/relay_client_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// ignore: library_annotations
@Timeout(Duration(seconds: 45))
library;

import 'dart:async';

Expand Down Expand Up @@ -309,6 +310,15 @@ void main() {
// expect(counterA, 1);
// expect(counterB, 1);
// });

test('Does not throws when calling listen() multiple times', () async {
await Future.wait([
coreA.relayClient.init(),
coreA.relayClient.init(),
coreB.relayClient.init(),
coreB.relayClient.init(),
]);
});
});
});
}

0 comments on commit d1f6bcf

Please sign in to comment.