diff options
Diffstat (limited to 'ts/features/steps/composition.ts')
| -rw-r--r-- | ts/features/steps/composition.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ts/features/steps/composition.ts b/ts/features/steps/composition.ts new file mode 100644 index 0000000..f1ee009 --- /dev/null +++ b/ts/features/steps/composition.ts @@ -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') +}); |
