Skip to content

Commit

Permalink
Correct background parameter name in GherkinDocumentHandlers (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
kieran-ryan authored Mar 22, 2024
1 parent b0d9e3b commit 7766139
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Changed
- [JavaScript] Fix background parameter name in GherkinDocumentHandlers ([#68](https://github.com/cucumber/gherkin-utils/pull/68))

## [8.0.6] - 2024-02-23
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion javascript/src/GherkinDocumentHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as messages from '@cucumber/messages'

export type GherkinDocumentHandlers<Acc> = {
feature: (feature: messages.Feature, acc: Acc) => Acc
background: (backgrounf: messages.Background, acc: Acc) => Acc
background: (background: messages.Background, acc: Acc) => Acc
rule: (rule: messages.Rule, acc: Acc) => Acc
scenario: (scenario: messages.Scenario, acc: Acc) => Acc
step: (step: messages.Step, acc: Acc) => Acc
Expand Down

0 comments on commit 7766139

Please sign in to comment.