Remove unused jest dependency
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { expect } from 'chai'
|
||||
import { When, Then } from '@cucumber/cucumber'
|
||||
import * as compared from '../support/compared.js'
|
||||
import { actual, expected } 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)
|
||||
expect(actual).to.deep.equal(expected)
|
||||
})
|
||||
|
@@ -1,10 +1,10 @@
|
||||
import expect from 'expect'
|
||||
import { When, Then } from '@cucumber/cucumber'
|
||||
import * as compared from '../support/compared.js'
|
||||
import { actual, expected } from '../support/compared.js'
|
||||
|
||||
When('I use jest', function () {
|
||||
})
|
||||
|
||||
Then('I see jest diff on failure', function () {
|
||||
expect(compared.actual).toEqual(compared.expected)
|
||||
expect(actual).toEqual(expected)
|
||||
})
|
||||
|
@@ -1,10 +1,10 @@
|
||||
import assert from 'assert'
|
||||
import { When, Then } from '@cucumber/cucumber'
|
||||
import * as compared from '../support/compared.js'
|
||||
import { actual, expected } from '../support/compared.js'
|
||||
|
||||
When('I use node', function () {
|
||||
})
|
||||
|
||||
Then('I see node diff on failure', function () {
|
||||
assert.equal(compared.actual, compared.expected)
|
||||
assert.equal(actual, expected)
|
||||
})
|
||||
|
6742
assertion/package-lock.json
generated
6742
assertion/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,12 +9,9 @@
|
||||
},
|
||||
"author": "Eugen Wissner <belka@caraus.de>",
|
||||
"license": "MPL-2.0",
|
||||
"devDependencies": {
|
||||
"chai": "^5.1.2",
|
||||
"expect": "^23.6.0",
|
||||
"jest": "^29.7.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@cucumber/cucumber": "^11.1.1"
|
||||
"@cucumber/cucumber": "^12.0.0",
|
||||
"chai": "^5.2.1",
|
||||
"expect": "^30.0.4"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user