Skip to content

Commit

Permalink
json formatter: add type to scenario (#893)
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonprz authored and charlierudolph committed Aug 11, 2017
1 parent 7d31882 commit 44b2cb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/formatter/json_formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export default class JsonFormatter extends Formatter {
keyword: 'Scenario',
line: pickle.locations[0].line,
name: pickle.name,
tags: this.getTags(pickle)
tags: this.getTags(pickle),
type: 'scenario'
}
}

Expand Down
1 change: 1 addition & 0 deletions src/formatter/json_formatter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ describe('JsonFormatter', function() {
keyword: 'Scenario',
line: 4,
name: 'my scenario',
type: 'scenario',
steps: [
{
arguments: [],
Expand Down

0 comments on commit 44b2cb9

Please sign in to comment.