Class TestCollector
Constructor
constructor()
Properties
classSuites: Mapexternal Map<ClassDeclinterface ClassDeclextractor/extractor/ClassDecl, {}>[src]
fnSuites: Mapexternal Map<Moduleinterface Moduleextractor/extractor/Module, {
project: Projectclass Projectextractor/extractor/Project,
tests: Mapexternal Map<FunctionDeclinterface FunctionDeclextractor/extractor/FunctionDecl, Arrayexternal Array<string>>
}>[src]tests: Mapexternal Map<FunctionDeclinterface FunctionDeclextractor/extractor/FunctionDecl, Arrayexternal Array<string>>
Methods
filterSource(
code: string
): [filtered: string, full: string][src]If a line inside the codeblock starts with #
, then that line is going to be omitted from the final output, but
it will be included in the test code. You can prevent this from happening by adding another #
right after the
first one.