Generates a estree.Program that should be executed before executing any instrumented code. In the standalone mode, the setup code is bundled with the instrumented code and this function should not be used.
estree.Program
AranInputError If the configuration is invalid.
Optional
Setup generation options.
The setup script program. Can be passed to an estree code generator such as astring.
astring
Generates a
estree.Program
that should be executed before executing any instrumented code. In the standalone mode, the setup code is bundled with the instrumented code and this function should not be used.Throws
AranInputError If the configuration is invalid.