Add missing space and semicolons
This commit is contained in:
parent
48a1f3756b
commit
ce48d31769
@ -6,5 +6,5 @@ When('I use chai', function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
Then('I see chai diff on failure', 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)
|
||||||
})
|
})
|
||||||
|
@ -2,9 +2,9 @@ import { When, Then } from 'cucumber';
|
|||||||
import { expect } from 'chai';
|
import { expect } from 'chai';
|
||||||
|
|
||||||
When('the step definitions are written in {word}', function (language: string) {
|
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 () {
|
Then("I don't get a warning about undefined steps", function () {
|
||||||
expect(this.language).to.equal('TypeScript')
|
expect(this.language).to.equal('TypeScript');
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user