Skip to content

Commit 5ac081f

Browse files
committed
fix: incorrect conversion of options to flags
1 parent a368d03 commit 5ac081f

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/test_runner.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class TestRunner {
107107
}
108108

109109
if (this.#options.retries !== undefined) {
110-
args.push('--timeout')
110+
args.push('--retries')
111111
args.push(String(this.#options.retries))
112112
}
113113

@@ -143,13 +143,8 @@ export class TestRunner {
143143
args.push(filters.tags.join(','))
144144
}
145145

146-
if (filters.ignoreTags) {
147-
args.push('--ignore-tags')
148-
args.push(filters.ignoreTags.join(','))
149-
}
150-
151146
if (filters.tests) {
152-
args.push('--ignore-tests')
147+
args.push('--tests')
153148
args.push(filters.tests.join(','))
154149
}
155150

src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ export type TestRunnerOptions = {
8484
groups: string[]
8585
files: string[]
8686
tags: string[]
87-
ignoreTags: string[]
8887
}>
8988

9089
reporters?: string[]

0 commit comments

Comments
 (0)