Skip to content

Commit

Permalink
fixup! TW-2066: Add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev committed Oct 4, 2024
1 parent 3897acd commit d2886fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/utils/convert_read_stream_to_bytes_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ import 'package:fluffychat/utils/matrix_sdk_extensions/matrix_file_extension.dar
import 'package:matrix/matrix.dart';

void main() {
testWidgets(' test convertReadStreamToBytes() loads image bytes correctly', (
WidgetTester tester,
) async {
test(' test convertReadStreamToBytes() loads image bytes correctly',
() async {
final mockMatrixFile = MatrixFile(
name: 'test1.png',
readStream: Stream.value(List.generate(100, (index) => index)),
Expand Down

0 comments on commit d2886fa

Please sign in to comment.