2018-12-31 07:44:25 +01:00
|
|
|
const { expect } = require('chai')
|
|
|
|
const { When, Then } = require('cucumber')
|
|
|
|
const compared = require('../support/compared')
|
|
|
|
|
|
|
|
When('I use chai', function () {
|
|
|
|
})
|
|
|
|
|
|
|
|
Then('I see chai diff on failure', function () {
|
2019-01-03 06:12:27 +01:00
|
|
|
expect(compared.actual).to.deep.equal(compared.expected)
|
2018-12-31 07:44:25 +01:00
|
|
|
})
|