diff --git a/packages/pinball_components/test/src/components/layer_test.dart b/packages/pinball_components/test/src/components/layer_test.dart index f2372c45..d47702ea 100644 --- a/packages/pinball_components/test/src/components/layer_test.dart +++ b/packages/pinball_components/test/src/components/layer_test.dart @@ -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,