test: added dino wall assets to test

pull/208/head
RuiAlonso 3 years ago
parent 4f6c8be551
commit 7bfb391e49

@ -11,7 +11,11 @@ import '../../helpers/helpers.dart';
void main() {
group('DinoWalls', () {
TestWidgetsFlutterBinding.ensureInitialized();
final flameTester = FlameTester(TestGame.new);
final assets = [
Assets.images.dino.dinoLandTop.keyName,
Assets.images.dino.dinoLandBottom.keyName,
];
final flameTester = FlameTester(() => TestGame(assets));
flameTester.testGameWidget(
'renders correctly',

Loading…
Cancel
Save