Skip to content

Commit

Permalink
docs: fix links in event_handlers.md (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
olirogers authored and charlierudolph committed Sep 16, 2016
1 parent 28fafe0 commit 392b702
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/support_files/event_handlers.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ You can register event handlers for the following events within the cucumber lif

| Event | Object |
|----------------|-----------------------------------------------------------|
| BeforeFeatures | array of [Features](lib/cucumber/ast/feature.js) |
| BeforeFeature | [Feature](lib/cucumber/ast/feature.js) |
| BeforeScenario | [Scenario](lib/cucumber/ast/scenario.js) |
| BeforeStep | [Step](lib/cucumber/ast/step.js) |
| StepResult | [StepResult](lib/cucumber/runtime/step_result.js) |
| AfterStep | [Step](lib/cucumber/ast/step.js) |
| ScenarioResult | [ScenarioResult](lib/cucumber/runtime/scenario_result.js) |
| AfterScenario | [Scenario](lib/cucumber/ast/scenario.js) |
| AfterFeature | [Feature](lib/cucumber/ast/feature.js) |
| FeaturesResult | [FeaturesResult](lib/cucumber/runtime/features_result.js) |
| AfterFeatures | array of [Features](lib/cucumber/ast/feature.js) |
| BeforeFeatures | array of [Features](/lib/cucumber/ast/feature.js) |
| BeforeFeature | [Feature](/lib/cucumber/ast/feature.js) |
| BeforeScenario | [Scenario](/lib/cucumber/ast/scenario.js) |
| BeforeStep | [Step](/lib/cucumber/ast/step.js) |
| StepResult | [StepResult](/lib/cucumber/runtime/step_result.js) |
| AfterStep | [Step](/lib/cucumber/ast/step.js) |
| ScenarioResult | [ScenarioResult](/lib/cucumber/runtime/scenario_result.js) |
| AfterScenario | [Scenario](/lib/cucumber/ast/scenario.js) |
| AfterFeature | [Feature](/lib/cucumber/ast/feature.js) |
| FeaturesResult | [FeaturesResult](/lib/cucumber/runtime/features_result.js) |
| AfterFeatures | array of [Features](/lib/cucumber/ast/feature.js) |

Hooks also trigger `BeforeStep`, `StepResult`, and `AfterStep` events with the object
[HookStep](lib/cucumber/ast/hook_step.js)
[HookStep](/lib/cucumber/ast/hook_step.js)

Handlers will be passed the associated object as the first argument.
Handlers can be synchronous, return a promise, accept an additional callback argument, or use generators.
Expand Down

0 comments on commit 392b702

Please sign in to comment.