externalStopLocalServer
Hierarchy
- Interaction
- StopLocalServer
Index
Constructors
Methods
Constructors
externalconstructor
Parameters
externaldescription: Answerable<string>
externaloptionallocation: FileSystemLocation
Returns StopLocalServer
Methods
staticexternalifRunning
Stops the server if it's running. If the server hasn't been started, this interaction does nothing.
Returns Interaction
externalinstantiationLocation
Returns the location where this
Activity
was instantiated.Returns FileSystemLocation
externaldescribedBy
Resolves the description of this object in the context of the provided
actor
.Parameters
externalactor: AnswersQuestions & UsesAbilities & { name: string }
Returns Promise<string>
externaltoString
Returns a human-readable description of this object.
Returns string
externalperformAs
Parameters
externalactor: UsesAbilities & CollectsArtifacts & AnswersQuestions
Returns Promise<void>
Stops the local server. Should be used in
afterEach
block to make sure that the server is correctly shut down even when the test fails.