CORE/tests/test_resources/custom_module.gd

18 lines
432 B
GDScript3
Raw Normal View History

extends CoreBaseModule
@onready var suite: BessereTestsTest = get_node_or_null("/root/suite_core")
func _initialize() -> void:
loggeri.info("Module has been initialized")
suite.callback = "_initialize"
func _cleanup() -> void:
loggeri.info("Cleaning module")
func _pull_config() -> void:
loggeri.info("The configuration has been updated")
suite.callback = "_pull_config"
func hello_test() -> String:
return "Hello Test!"