Skip to content

ChaosHandlerOptions constructor - all optional parameters should be listed at the end of the signature #329

Closed
@nikithauc

Description

@nikithauc

The constructor should be changed from

public constructor(chaosStrategy: ChaosStrategy = ChaosStrategy.RANDOM, statusCode?: number, statusMessage: string = "Some error Happened", chaosPercentage?: number, responseBody?: any)

to something like

public constructor(chaosStrategy: ChaosStrategy = ChaosStrategy.RANDOM, statusMessage: string = "Some error Happened", statusCode?: numberchaosPercentage?: number, responseBody?: any)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions