summaryrefslogtreecommitdiff
path: root/assertion/features/steps/chai-failure.js
blob: 9d6f0a169d592d72f0e041a2f6e17c884e7050fe (plain)
1
2
3
4
5
6
7
8
9
10
import { expect } from 'chai'
import { When, Then } from '@cucumber/cucumber'
import * as compared from '../support/compared.js'

When('I use chai', function () {
})

Then('I see chai diff on failure', function () {
  expect(compared.actual).to.deep.equal(compared.expected)
})