refactor: removed mounted await in test

pull/179/head
alestiago 4 years ago
parent 116d039bd1
commit 0ea1894c43

@ -57,8 +57,6 @@ void main() {
const expectedLayer = Layer.spaceshipEntranceRamp;
final component = TestLayeredBodyComponent()..layer = expectedLayer;
await game.ensureAdd(component);
// TODO(alestiago): modify once component.loaded is available.
await component.mounted;
_expectLayerOnFixtures(
fixtures: component.body.fixtures,
@ -79,8 +77,6 @@ void main() {
component.layer = expectedLayer;
await game.ensureAdd(component);
// TODO(alestiago): modify once component.loaded is available.
await component.mounted;
_expectLayerOnFixtures(
fixtures: component.body.fixtures,

Loading…
Cancel
Save