1
0
cucumber-js-demo/assertion/features/steps/node-failure.js

11 lines
268 B
JavaScript

import assert from 'assert'
import { When, Then } from '@cucumber/cucumber'
import * as compared from '../support/compared.js'
When('I use node', function () {
})
Then('I see node diff on failure', function () {
assert.equal(compared.actual, compared.expected)
})