From ce48d3176929481eae19f1d7536823de56fbb9d3 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 3 Jan 2019 06:12:27 +0100 Subject: [PATCH] Add missing space and semicolons --- assertion/features/steps/chai-failure.js | 2 +- ts/features/steps/composition.ts | 4 ++-- 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'); });