refactor: Remove FluffyClient and make it no longer static
This commit is contained in:
parent
6d4af6be05
commit
2320f6b707
8 changed files with 71 additions and 67 deletions
|
|
@ -8,8 +8,12 @@
|
|||
import 'package:fluffychat/main.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'utils/test_client.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('Test if the app starts', (WidgetTester tester) async {
|
||||
await tester.pumpWidget(FluffyChatApp());
|
||||
await tester.pumpWidget(FluffyChatApp(
|
||||
client: await prepareTestClient(),
|
||||
));
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue