Skip to content

Commit

Permalink
Restore missing attachment body (#17)
Browse files Browse the repository at this point in the history
* Restore missing attachment body

* Update changelog

* Transpile explicitly to commonjs
  • Loading branch information
aurelien-reeves authored Jul 8, 2022
1 parent 81ca004 commit 985e507
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
----
## [Unreleased]

### Fixed

* `body` was sometime missing in `attachments.feature.ndjson`
([PR#17](https://github.com/cucumber/compatibility-kit/pull/17/))

## [11.0.0] - 2022-06-28

### Added
Expand Down
2 changes: 1 addition & 1 deletion devkit/samples/attachments/attachments.feature.ndjson
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
{"testStepStarted":{"testCaseStartedId":"65","testStepId":"52","timestamp":{"nanos":26000000,"seconds":0}}}
{"testStepFinished":{"testCaseStartedId":"65","testStepId":"52","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":27000000,"seconds":0}}}
{"testStepStarted":{"testCaseStartedId":"65","testStepId":"53","timestamp":{"nanos":28000000,"seconds":0}}}
{"attachment":{"body":"","contentEncoding":"BASE64","mediaType":"text/plain","testCaseStartedId":"65","testStepId":"53"}}
{"attachment":{"body":"AAECAwQFBgcICQ==","contentEncoding":"BASE64","mediaType":"text/plain","testCaseStartedId":"65","testStepId":"53"}}
{"testStepFinished":{"testCaseStartedId":"65","testStepId":"53","testStepResult":{"duration":{"nanos":1000000,"seconds":0},"status":"PASSED"},"timestamp":{"nanos":29000000,"seconds":0}}}
{"testCaseFinished":{"testCaseStartedId":"65","timestamp":{"nanos":30000000,"seconds":0},"willBeRetried":false}}
{"testCaseStarted":{"attempt":0,"id":"66","testCaseId":"57","timestamp":{"nanos":31000000,"seconds":0}}}
Expand Down
2 changes: 2 additions & 0 deletions devkit/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"compilerOptions": {
"target": "es2020",
"module": "CommonJS",
"esModuleInterop": true,
"outDir": "dist",
"lib": ["ES2020"],
Expand Down

0 comments on commit 985e507

Please sign in to comment.