Skip to content

Commit d3b0b43

Browse files
rajveermalviyagnprice
authored andcommitted
licenses test: Add a smoke test for additionalLicenses
Skipped for now, because of zulip#1540.
1 parent 834834b commit d3b0b43

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/licenses_test.dart

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import 'package:checks/checks.dart';
2+
import 'package:flutter_test/flutter_test.dart';
3+
import 'package:zulip/licenses.dart';
4+
5+
import 'fake_async.dart';
6+
7+
void main() {
8+
TestWidgetsFlutterBinding.ensureInitialized();
9+
10+
test('smoke: ensure all additional licenses load', () => awaitFakeAsync((async) async {
11+
await check(additionalLicenses().toList())
12+
.completes((it) => it.isNotEmpty());
13+
}), skip: true); // TODO(#1540)
14+
}

0 commit comments

Comments
 (0)