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

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

Then('I see jest diff on failure', function () {
  expect(compared.actual).toEqual(compared.expected)
})