Skip to content

Commit 6abd557

Browse files
authored
feat(api): make test-specification options writable (#10154)
1 parent 596f739 commit 6abd557

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/vitest/src/node/test-specification.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ export class TestSpecification {
3232
/**
3333
* Line numbers of the test locations to run.
3434
*/
35-
public readonly testLines: number[] | undefined
35+
public testLines: number[] | undefined
3636
/**
3737
* Regular expression pattern to filter test names.
3838
*/
39-
public readonly testNamePattern: RegExp | undefined
39+
public testNamePattern: RegExp | undefined
4040
/**
4141
* The ids of tasks inside of this specification to run.
4242
*/
43-
public readonly testIds: string[] | undefined
43+
public testIds: string[] | undefined
4444
/**
4545
* The tags of tests to run.
4646
*/
47-
public readonly testTagsFilter: string[] | undefined
47+
public testTagsFilter: string[] | undefined
4848

4949
/**
5050
* This class represents a test suite for a test module within a single project.

0 commit comments

Comments
 (0)