@types/cucumber
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -53,9 +53,47 @@ // Type definitions for cucumber-js 3.2 | ||
export interface HookScenarioResult { | ||
sourceLocation: SourceLocation; | ||
result: ScenarioResult; | ||
pickle: pickle.Pickle; | ||
} | ||
export interface SourceLocation { | ||
line: number; | ||
url: string; | ||
} | ||
export interface ScenarioResult { | ||
duration: number; | ||
failureException: Error; | ||
scenario: Scenario; | ||
status: Status; | ||
stepsResults: any; | ||
} | ||
export namespace pickle { | ||
interface Pickle { | ||
language: string; | ||
locations: Location[]; | ||
name: string; | ||
steps: Step[]; | ||
tags: string[]; | ||
} | ||
interface Location { | ||
column: number; | ||
line: number; | ||
} | ||
interface Step { | ||
arguments: Argument[]; | ||
locations: Location[]; | ||
text: string; | ||
} | ||
interface Argument { | ||
rows: Cell[]; | ||
} | ||
interface Cell { | ||
location: Location; | ||
value: string; | ||
} | ||
} | ||
export type HookCode = (this: World, scenario: HookScenarioResult, callback?: CallbackStepDefinition) => void; | ||
@@ -62,0 +100,0 @@ export type GlobalHookCode = (callback?: CallbackStepDefinition) => void; |
{ | ||
"name": "@types/cucumber", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "TypeScript definitions for cucumber-js", | ||
@@ -40,4 +40,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "05ba1d33f64af97b32057a321e8765a4bb091f0f1b6f5dd5ac76c33ebda01784", | ||
"typesPublisherContentHash": "2b52657c96853bf931d74ab79853acc9a4c9240667bbeeda8b7c24b70f423f4e", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 03 Jan 2018 19:51:48 GMT | ||
* Last updated: Thu, 04 Jan 2018 23:26:00 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
11427
260