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

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

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