blob: 94563b8c90d161da140c26c7181597c26cba2bac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { Given, When, Then } from '@cucumber/cucumber'
import assert from 'node:assert/strict'
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) {
assert.equal(string, this.concat)
})
|