blob: 2d9e5bd6176fa6fe6d3702a6342cf8b124b132f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { Given, When, Then } from '@cucumber/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)
})
|