summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2019-01-03 06:12:27 +0100
committerEugen Wissner <belka@caraus.de>2019-01-03 06:12:27 +0100
commitce48d3176929481eae19f1d7536823de56fbb9d3 (patch)
tree9e3c27cdc1f2567c71efb087a821ee5da0e5866d
parent48a1f3756b927098357107baf4009740f562520a (diff)
downloadcucumber-js-demo-ce48d3176929481eae19f1d7536823de56fbb9d3.tar.gz
Add missing space and semicolons
-rw-r--r--assertion/features/steps/chai-failure.js2
-rw-r--r--ts/features/steps/composition.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/assertion/features/steps/chai-failure.js b/assertion/features/steps/chai-failure.js
index ea3d96e..e3454fb 100644
--- a/assertion/features/steps/chai-failure.js
+++ b/assertion/features/steps/chai-failure.js
@@ -6,5 +6,5 @@ When('I use chai', function () {
})
Then('I see chai diff on failure', function () {
- expect(compared.actual).to.deep.equal(compared.expected)
+ expect(compared.actual).to.deep.equal(compared.expected)
})
diff --git a/ts/features/steps/composition.ts b/ts/features/steps/composition.ts
index f1ee009..220c6ea 100644
--- a/ts/features/steps/composition.ts
+++ b/ts/features/steps/composition.ts
@@ -2,9 +2,9 @@ import { When, Then } from 'cucumber';
import { expect } from 'chai';
When('the step definitions are written in {word}', function (language: string) {
- this.language = language
+ this.language = language;
});
Then("I don't get a warning about undefined steps", function () {
- expect(this.language).to.equal('TypeScript')
+ expect(this.language).to.equal('TypeScript');
});