From 6abd557b7219156893dd13a1dbe86501d5542d2e Mon Sep 17 00:00:00 2001 From: Vladimir Date: Thu, 16 Apr 2026 18:00:16 +0200 Subject: [PATCH] feat(api): make test-specification options writable (#10154) --- packages/vitest/src/node/test-specification.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/vitest/src/node/test-specification.ts b/packages/vitest/src/node/test-specification.ts index 6ac1c9f7c..74ef5d6a1 100644 --- a/packages/vitest/src/node/test-specification.ts +++ b/packages/vitest/src/node/test-specification.ts @@ -32,19 +32,19 @@ export class TestSpecification { /** * Line numbers of the test locations to run. */ - public readonly testLines: number[] | undefined + public testLines: number[] | undefined /** * Regular expression pattern to filter test names. */ - public readonly testNamePattern: RegExp | undefined + public testNamePattern: RegExp | undefined /** * The ids of tasks inside of this specification to run. */ - public readonly testIds: string[] | undefined + public testIds: string[] | undefined /** * The tags of tests to run. */ - public readonly testTagsFilter: string[] | undefined + public testTagsFilter: string[] | undefined /** * This class represents a test suite for a test module within a single project. -- 2.51.2