Skip to content

Commit c8df22a

Browse files
committed
Create unit test use_case_test.dart
1 parent bedb0a8 commit c8df22a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/core/use_case/use_case_test.dart

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import 'package:flutter_news_app/core/use_case/use_case.dart';
2+
import 'package:flutter_test/flutter_test.dart';
3+
4+
void main() {
5+
test(
6+
'Make sure the output of props function NoParams',
7+
() async {
8+
// assert
9+
expect(
10+
NoParams().props,
11+
[],
12+
);
13+
},
14+
);
15+
}

0 commit comments

Comments
 (0)