13 lines
417 B
GDScript
13 lines
417 B
GDScript
extends GutTest
|
|
|
|
func test_canary_scene_loads():
|
|
var scene = load("res://scenes/ui/CanaryScreen.tscn")
|
|
assert_is_not_null(scene, "CanaryScreen.tscn should load without errors.")
|
|
|
|
var instance = scene.instantiate()
|
|
assert_is_not_null(instance, "CanaryScreen.tscn should instantiate without errors.")
|
|
|
|
add_child(instance)
|
|
await get_tree().create_timer(1.0).timeout
|
|
instance.queue_free()
|