1
0

Add TypeScript example

This commit is contained in:
2018-11-25 05:58:09 +01:00
parent 15e5e413d9
commit 714245fcb0
5 changed files with 722 additions and 0 deletions

View File

@ -0,0 +1,10 @@
import { When, Then } from 'cucumber';
import { expect } from 'chai';
When('the step definitions are written in {word}', function (language: string) {
this.language = language
});
Then("I don't get a warning about undefined steps", function () {
expect(this.language).to.equal('TypeScript')
});