test: included canvas

pull/303/head
alestiago 3 years ago
parent ca67be31f9
commit b1f2cf3b70

@ -32,8 +32,8 @@ void main() {
'loads correctly', 'loads correctly',
(game) async { (game) async {
final flutterForest = FlutterForest(); final flutterForest = FlutterForest();
await game.ensureAdd(flutterForest); await game.ensureAdd(ZCanvasComponent(children: [flutterForest]));
expect(game.contains(flutterForest), isTrue); expect(game.descendants(), contains(flutterForest));
}, },
); );

Loading…
Cancel
Save