Skip to content

Commit

Permalink
Update scene_update_sync test
Browse files Browse the repository at this point in the history
Scene spawning will happen after `Update`, so two updates will
be needed anyway, see bevyengine/bevy#9260
  • Loading branch information
Shatur committed Aug 15, 2023
1 parent 6a329fd commit 49121b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parent_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ mod tests {
}

#[test]
#[ignore = "will work if Bevy move scene spawning to `PreUpdate`"]
fn scene_update_sync() {
let mut app = App::new();
app.add_plugins((
Expand All @@ -198,6 +197,7 @@ mod tests {
let mut scene_spawner = app.world.resource_mut::<SceneSpawner>();
scene_spawner.spawn_dynamic(scene_handle);

app.update();
app.update();

let (parent, parent_sync) = app
Expand Down

0 comments on commit 49121b3

Please sign in to comment.