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

11 lines
265 B
JavaScript
Raw Normal View History

2018-12-31 07:44:25 +01:00
const assert = require('assert')
const { When, Then } = require('cucumber')
const compared = require('../support/compared')
When('I use node', function () {
})
Then('I see node diff on failure', function () {
assert.equal(compared.actual, compared.expected)
})