blob: 45cb7e2fa1d9047d56056932ac74e0f42ce77f12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { Given, When, Then } from 'cucumber'
import { expect } from 'chai'
Given('the start value is {string}', function (string) {
this.concat = string
})
When('I concatenate {string}', function (string) {
this.concat += ' ' + string
})
Then('the result should be {string}', function (string) {
expect(string).to.equal(this.concat)
})
|