---
url: https://huldoser.github.io/test-inventory/api/interfaces/ScanSourceOptions.md
---
# 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?

> `optional` **frameworkVersion?**: `string` | `null`

The framework version whose rules apply. The newest rules apply when it is missing.

***

### comments?

> `optional` **comments?**: `"all"` | `"non-active"` | `"none"`

Which tests get the comments above them. Defaults to `non-active`.

***

### expandCases?

> `optional` **expandCases?**: `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.
