File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,8 @@ export class ExplorerTestEntry extends CollapseableEntry {
243243 ${ ! this . isRunning
244244 ? html `
245245 < button
246- class ="p-1 rounded hover:bg-toolbarHoverBackground my-1 group/button ${ this . runDisabled
246+ class ="p-1 rounded hover:bg-toolbarHoverBackground my-1 group/button ${ this
247+ . runDisabled
247248 ? 'opacity-60 cursor-not-allowed hover:bg-transparent'
248249 : '' } "
249250 title ="${ runTooltip } "
Original file line number Diff line number Diff line change @@ -29,10 +29,7 @@ export interface RunnerRequestBody {
2929
3030const FRAMEWORK_FILTERS : Record <
3131 string ,
32- ( ctx : {
33- specArg ?: string
34- payload : RunnerRequestBody
35- } ) => string [ ]
32+ ( ctx : { specArg ?: string ; payload : RunnerRequestBody } ) => string [ ]
3633> = {
3734 cucumber : ( { specArg, payload } ) => {
3835 const filters : string [ ] = [ ]
@@ -130,7 +127,9 @@ class TestRunner {
130127
131128 #buildFilters( payload : RunnerRequestBody ) {
132129 const framework = ( payload . framework || '' ) . toLowerCase ( )
133- const specFile = payload . runAll ? undefined : this . #normaliseSpecFile( payload )
130+ const specFile = payload . runAll
131+ ? undefined
132+ : this . #normaliseSpecFile( payload )
134133 const specArg = specFile
135134 ? this . #buildSpecArgument( specFile , payload )
136135 : undefined
@@ -178,7 +177,7 @@ class TestRunner {
178177 }
179178
180179 #toFsPath( candidate : string ) {
181- let filePath = candidate . startsWith ( 'file://' )
180+ const filePath = candidate . startsWith ( 'file://' )
182181 ? url . fileURLToPath ( candidate )
183182 : candidate
184183 return path . isAbsolute ( filePath )
You can’t perform that action at this time.
0 commit comments