@haibun/core
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -116,3 +116,3 @@ import { DomainContext, WorkspaceContext, WorldContext } from './contexts'; | ||
close?(): void; | ||
nextFeature?(): void; | ||
nextFeature?(ctx: string): void; | ||
} | ||
@@ -119,0 +119,0 @@ export interface IStepper extends IExtension { |
@@ -9,5 +9,5 @@ import { IStepper, TVStep, TResolvedFeature, TResult, TStepResult, TFeatureResult, TWorld } from '../lib/defs'; | ||
static doFeatureStep(vstep: TVStep, world: TWorld): Promise<TStepResult>; | ||
nextFeature(): Promise<void>; | ||
nextFeature(tag: string): Promise<void>; | ||
close(): Promise<void>; | ||
} | ||
//# sourceMappingURL=Executor.d.ts.map |
@@ -22,3 +22,3 @@ "use strict"; | ||
featureResults.push(featureResult); | ||
await this.nextFeature(); | ||
await this.nextFeature(this.world.tag); | ||
} | ||
@@ -73,7 +73,7 @@ await this.close(); | ||
} | ||
async nextFeature() { | ||
async nextFeature(tag) { | ||
for (const s of this.steppers) { | ||
if (s.nextFeature) { | ||
this.world.logger.info(`closing ${s.constructor.name}`); | ||
await s.nextFeature(); | ||
await s.nextFeature(tag); | ||
} | ||
@@ -80,0 +80,0 @@ } |
{ | ||
"name": "@haibun/core", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
225451