diff --git a/test/widgets/store_checks.dart b/test/widgets/store_checks.dart new file mode 100644 index 00000000000..9754654556a --- /dev/null +++ b/test/widgets/store_checks.dart @@ -0,0 +1,8 @@ +import 'package:checks/checks.dart'; +import 'package:flutter/widgets.dart'; +import 'package:zulip/widgets/store.dart'; + +extension PerAccountStoreWidgetChecks on Subject { + Subject get accountId => has((x) => x.accountId, 'accountId'); + Subject get child => has((x) => x.child, 'child'); +}