test: included canvas

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

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

Loading…
Cancel
Save