2024-12-19 23:54:35 +01:00
|
|
|
import { expect } from 'chai'
|
|
|
|
import { When, Then } from '@cucumber/cucumber'
|
|
|
|
import * as compared from '../support/compared.js'
|
2018-12-31 07:44:25 +01:00
|
|
|
|
|
|
|
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
|
|
|
})
|