@pumpkin-plugins/plugin-kit API / testing/fake-commands / FakeNode
Class: FakeNode
Defined in: tools/plugin-kit/src/testing/fake-commands.ts:6
A node of a fake command tree, with what was attached to it.
Implements
CommandCommandNode
Constructors
Constructor
new FakeNode(
name,argument?):FakeNode
Defined in: tools/plugin-kit/src/testing/fake-commands.ts:13
Creates a node for the word name.
Parameters
name
string
argument?
CommandArgumentSpec
Returns
FakeNode