1
0

Remove unused jest dependency

This commit is contained in:
2025-07-16 15:10:10 +02:00
parent 738f4f2bdb
commit ef41c7d788
21 changed files with 1598 additions and 10037 deletions

View File

@@ -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)
})

View File

@@ -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)
})

View File

@@ -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)
})

File diff suppressed because it is too large Load Diff

View File

@@ -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"
}
}