summaryrefslogtreecommitdiff
path: root/1args/features/steps/addition.js
blob: ea6fc9cf41e562a53b56f32a968d8f6263647d52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { Given, When, Then } from '@cucumber/cucumber'
import assert from 'node:assert/strict'

Given('the start value is {int}', function (int) {
})

When('I add {int}', function (int) {
})

Then('the result should be {int}', function (int) {
  assert.equal(int, 11)
})