This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
StasisWarden-Legacy/tests/test_canary_screen.gd

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()