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

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

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