Skip to content

Interface: FileRecord ​

A scanned file, also one that has no tests or could not be read.

Properties ​

relativeFilePath ​

relativeFilePath: string

Path from the project root, with / separators.


fileName ​

fileName: string


hooks ​

hooks: object

Hooks at the top level of the file, which run around every test in it.

beforeAll ​

beforeAll: number

beforeEach ​

beforeEach: number

afterEach ​

afterEach: number

afterAll ​

afterAll: number

aroundEach ​

aroundEach: number

Vitest only.

aroundAll ​

aroundAll: number

Vitest only.


suiteCount ​

suiteCount: number


testCount ​

testCount: number