11 lines
274 B
JavaScript
11 lines
274 B
JavaScript
|
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 () {
|
||
|
expect(compared.actual).to.deep.equal(compared.expected)
|
||
|
})
|