Interface: ScanSourceOptions
Inline
Properties
code
code:
string
relativeFilePath
relativeFilePath:
string
Path of the file from the project root, used in the output and in ids.
framework
framework:
"playwright"|"vitest"|"jest"|"mocha"|"jasmine"|"cypress"|"webdriverio"|"node"|"bun"
frameworkVersion?
optionalframeworkVersion?:string|null
The framework version whose rules apply. The newest rules apply when it is missing.
comments?
optionalcomments?:"all"|"non-active"|"none"
Which tests get the comments above them. Defaults to non-active.
expandCases?
optionalexpandCases?:boolean
One test or describe per case of a .each or .for table and per pass of a loop whose values the scan can work out, each with the title the runner gives it. Defaults to false: one record per declaration.