@@ -36,7 +36,7 @@ import type { BuiltInReporter, FullConfigInternal } from '../common/config';
3636import type { CommonReporterOptions , Screen } from '../reporters/base' ;
3737import type { ReporterV2 } from '../reporters/reporterV2' ;
3838
39- export async function createReporters ( config : FullConfigInternal , mode : 'list' | 'test' | 'merge' , isTestServer : boolean , descriptions ?: ReporterDescription [ ] ) : Promise < ReporterV2 [ ] > {
39+ export async function createReporters ( config : FullConfigInternal , mode : 'list' | 'test' | 'merge' , descriptions ?: ReporterDescription [ ] ) : Promise < ReporterV2 [ ] > {
4040 const defaultReporters : { [ key in BuiltInReporter ] : new ( arg : any ) => ReporterV2 } = {
4141 blob : BlobReporter ,
4242 dot : mode === 'list' ? ListModeReporter : DotReporter ,
@@ -52,7 +52,7 @@ export async function createReporters(config: FullConfigInternal, mode: 'list' |
5252 descriptions ??= config . config . reporter ;
5353 if ( config . configCLIOverrides . additionalReporters )
5454 descriptions = [ ...descriptions , ...config . configCLIOverrides . additionalReporters ] ;
55- const runOptions = reporterOptions ( config , mode , isTestServer ) ;
55+ const runOptions = reporterOptions ( config , mode ) ;
5656 for ( const r of descriptions ) {
5757 const [ name , arg ] = r ;
5858 const options = { ...runOptions , ...arg } ;
@@ -103,11 +103,10 @@ export function createErrorCollectingReporter(screen: Screen): ErrorCollectingRe
103103 } ;
104104}
105105
106- function reporterOptions ( config : FullConfigInternal , mode : 'list' | 'test' | 'merge' , isTestServer : boolean ) : CommonReporterOptions {
106+ function reporterOptions ( config : FullConfigInternal , mode : 'list' | 'test' | 'merge' ) : CommonReporterOptions {
107107 return {
108108 configDir : config . configDir ,
109109 _mode : mode ,
110- _isTestServer : isTestServer ,
111110 _commandHash : computeCommandHash ( config ) ,
112111 } ;
113112}
0 commit comments