11 lines
267 B
JavaScript
11 lines
267 B
JavaScript
|
const expect = require('expect')
|
||
|
const { When, Then } = require('cucumber')
|
||
|
const compared = require('../support/compared')
|
||
|
|
||
|
When('I use jest', function () {
|
||
|
})
|
||
|
|
||
|
Then('I see jest diff on failure', function () {
|
||
|
expect(compared.actual).toEqual(compared.expected)
|
||
|
})
|