Files
settled-reach/client/addons/gdUnit4/src/doubler/GdUnitMockFunctionDoubler.gd
T
jpmschweitzerandClaude Opus 4.6 61e0762a84 chore(client): add gdUnit4 test framework addon
Vendor gdUnit4 for Godot 4 client testing (D-030).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 16:52:00 +01:00

11 lines
288 B
GDScript

class_name GdUnitMockFunctionDoubler
extends GdFunctionDoubler
func double(func_descriptor: GdFunctionDescriptor) -> PackedStringArray:
return GdUnitFunctionDoublerBuilder.new(func_descriptor)\
.with_prepare_block()\
.with_verify_block()\
.with_mocked_return_value()\
.build()