@lynxwall/cucumber-tsflow 6.5.3 → 6.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cucumber/managed-scenario-context.d.ts +1 -1
- package/lib/cucumber/message-collector.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/types/{context-injection.d.ts → test-case-info.d.ts} +6 -6
- package/lib/types/test-case-info.js +3 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/lib/types/context-injection.js +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContextType } from '../types/types';
|
|
2
2
|
import { ScenarioContext, ScenarioInfo } from '../types/scenario-context';
|
|
3
|
-
import { EndTestCaseInfo, StartTestCaseInfo } from '../types/
|
|
3
|
+
import { EndTestCaseInfo, StartTestCaseInfo } from '../types/test-case-info';
|
|
4
4
|
import { World } from '@cucumber/cucumber';
|
|
5
5
|
/**
|
|
6
6
|
* Represents a [[ScenarioContext]] implementation that manages a collection of context objects that
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as messages from '@cucumber/messages';
|
|
2
2
|
import { StepBinding } from '../types/step-binding';
|
|
3
3
|
import { ManagedScenarioContext } from './managed-scenario-context';
|
|
4
|
-
import { EndTestCaseInfo } from '../types/
|
|
4
|
+
import { EndTestCaseInfo } from '../types/test-case-info';
|
|
5
5
|
export interface ITestCaseAttempt {
|
|
6
6
|
attempt: number;
|
|
7
7
|
willBeRetried: boolean;
|
package/lib/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export * from './cucumber/binding-decorator';
|
|
|
2
2
|
export * from './cucumber/hook-decorators';
|
|
3
3
|
export * from './cucumber/step-definition-decorators';
|
|
4
4
|
export { ScenarioContext, ScenarioInfo } from './types/scenario-context';
|
|
5
|
-
export { StartTestCaseInfo, EndTestCaseInfo } from './types/
|
|
5
|
+
export { StartTestCaseInfo, EndTestCaseInfo } from './types/test-case-info';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { GherkinDocument, Pickle, TestStepResult } from '@cucumber/messages';
|
|
2
2
|
/**
|
|
3
3
|
* Parameter passed into initialize() at the
|
|
4
4
|
* start of a test case (scenario) before most
|
|
5
5
|
* hooks and all steps
|
|
6
6
|
*/
|
|
7
7
|
export interface StartTestCaseInfo {
|
|
8
|
-
gherkinDocument:
|
|
9
|
-
pickle:
|
|
8
|
+
gherkinDocument: GherkinDocument;
|
|
9
|
+
pickle: Pickle;
|
|
10
10
|
testCaseStartedId: string;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
@@ -15,9 +15,9 @@ export interface StartTestCaseInfo {
|
|
|
15
15
|
* last After hook has executed.
|
|
16
16
|
*/
|
|
17
17
|
export interface EndTestCaseInfo {
|
|
18
|
-
gherkinDocument:
|
|
19
|
-
pickle:
|
|
20
|
-
result:
|
|
18
|
+
gherkinDocument: GherkinDocument;
|
|
19
|
+
pickle: Pickle;
|
|
20
|
+
result: TestStepResult;
|
|
21
21
|
willBeRetried: boolean;
|
|
22
22
|
testCaseStartedId: string;
|
|
23
23
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC1jYXNlLWluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMvdGVzdC1jYXNlLWluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
package/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "6.5.
|
|
1
|
+
export declare const version = "6.5.5";
|
package/lib/version.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.version = void 0;
|
|
4
4
|
// Generated by genversion.
|
|
5
|
-
exports.version = '6.5.
|
|
5
|
+
exports.version = '6.5.5';
|
|
6
6
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDJCQUEyQjtBQUNkLFFBQUEsT0FBTyxHQUFHLE9BQU8sQ0FBQSJ9
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynxwall/cucumber-tsflow",
|
|
3
3
|
"description": "Provides 'specflow' like bindings for CucumberJS 9.6.0+ in TypeScript 5.0+.",
|
|
4
|
-
"version": "6.5.
|
|
4
|
+
"version": "6.5.5",
|
|
5
5
|
"author": "Lonnie Wall <lynxdev@lynxwall.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "./lib/index",
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC1pbmplY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMvY29udGV4dC1pbmplY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|