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,5 +1,5 @@
import { Given, When, Then } from '@cucumber/cucumber' import { Given, When, Then } from '@cucumber/cucumber'
import { expect } from 'chai' import assert from 'node:assert/strict'
Given('the start value is {int}', function (int) { Given('the start value is {int}', function (int) {
}) })
@@ -8,5 +8,5 @@ When('I add {int}', function (int) {
}) })
Then('the result should be {int}', function (int) { Then('the result should be {int}', function (int) {
expect(int).to.equal(11) assert.equal(int, 11)
}) })

View File

@@ -1,9 +1,9 @@
import { When, Then } from '@cucumber/cucumber' import { When, Then } from '@cucumber/cucumber'
import { expect } from 'chai' import assert from 'node:assert/strict'
When('I concatenate {string} and {string}', function (string, string2) { When('I concatenate {string} and {string}', function (string, string2) {
}) })
Then('the result should be {string}', function (string) { Then('the result should be {string}', function (string) {
expect(string).to.equal("Georg Cantor") assert.equal(string, 'Georg Cantor')
}) })

1207
1args/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,6 @@
"author": "Eugen Wissner <belka@caraus.de>", "author": "Eugen Wissner <belka@caraus.de>",
"license": "MPL-2.0", "license": "MPL-2.0",
"dependencies": { "dependencies": {
"@cucumber/cucumber": "^11.1.1", "@cucumber/cucumber": "^12.0.0"
"chai": "^5.1.2"
} }
} }

View File

@@ -1,5 +1,5 @@
import { Given, When, Then } from '@cucumber/cucumber' import { Given, When, Then } from '@cucumber/cucumber'
import { expect } from 'chai' import assert from 'node:assert/strict'
Given('the start value is {int}', function (int) { Given('the start value is {int}', function (int) {
this.calc = int this.calc = int
@@ -10,5 +10,5 @@ When('I add {int}', function (int) {
}) })
Then('the result should be {int}', function (int) { Then('the result should be {int}', function (int) {
expect(this.calc).to.equal(int) assert.equal(this.calc, int)
}) })

View File

@@ -1,5 +1,5 @@
import { Given, When, Then } from '@cucumber/cucumber' import { Given, When, Then } from '@cucumber/cucumber'
import { expect } from 'chai' import assert from 'node:assert/strict'
Given('the start value is {string}', function (string) { Given('the start value is {string}', function (string) {
this.concat = string this.concat = string
@@ -10,5 +10,5 @@ When('I concatenate {string}', function (string) {
}) })
Then('the result should be {string}', function (string) { Then('the result should be {string}', function (string) {
expect(string).to.equal(this.concat) assert.equal(string, this.concat)
}) })

1207
2obj/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,6 @@
"author": "Eugen Wissner <belka@caraus.de>", "author": "Eugen Wissner <belka@caraus.de>",
"license": "MPL-2.0", "license": "MPL-2.0",
"dependencies": { "dependencies": {
"@cucumber/cucumber": "^11.1.1", "@cucumber/cucumber": "^12.0.0"
"chai": "^5.1.2"
} }
} }

View File

@@ -1,5 +1,5 @@
import { Given, When, Then } from '@cucumber/cucumber' import { Given, When, Then } from '@cucumber/cucumber'
import { expect } from 'chai' import assert from 'node:assert/strict'
Given('the start value is {int}', function (int) { Given('the start value is {int}', function (int) {
this.calc = int this.calc = int
@@ -10,5 +10,5 @@ When('I add {int}', function (int) {
}) })
Then('the result should be {int}', function (int) { Then('the result should be {int}', function (int) {
expect(this.calc).to.equal(int) assert.equal(this.calc, int)
}) })

View File

@@ -1,5 +1,5 @@
import { Given, When, Then } from '@cucumber/cucumber' import { Given, When, Then } from '@cucumber/cucumber'
import { expect } from 'chai' import assert from 'node:assert/strict'
Given('the start value is {string}', function (string) { Given('the start value is {string}', function (string) {
this.concat = string this.concat = string
@@ -10,5 +10,5 @@ When('I concatenate {string}', function (string) {
}) })
Then('the result should be {string}', function (string) { Then('the result should be {string}', function (string) {
expect(string).to.equal(this.concat) assert.equal(string, this.concat)
}) })

1207
3bg/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,6 @@
"author": "Eugen Wissner <belka@caraus.de>", "author": "Eugen Wissner <belka@caraus.de>",
"license": "MPL-2.0", "license": "MPL-2.0",
"dependencies": { "dependencies": {
"@cucumber/cucumber": "^11.1.1", "@cucumber/cucumber": "^12.0.0"
"chai": "^5.1.2"
} }
} }

View File

@@ -1,5 +1,5 @@
import { Given, When, Then } from '@cucumber/cucumber' import { Given, When, Then } from '@cucumber/cucumber'
import { expect } from 'chai' import assert from 'node:assert/strict'
Given('the start value is {int}', function (int) { Given('the start value is {int}', function (int) {
this.calc = int this.calc = int
@@ -10,5 +10,5 @@ When('I add {int}', function (int) {
}) })
Then('the result should be {int}', function (int) { Then('the result should be {int}', function (int) {
expect(this.calc).to.equal(int) assert.equal(this.calc, int)
}) })

View File

@@ -1,5 +1,5 @@
import { Given, When, Then } from '@cucumber/cucumber' import { Given, When, Then } from '@cucumber/cucumber'
import { expect } from 'chai' import assert from 'node:assert/strict'
Given('the start value is {string}', function (string) { Given('the start value is {string}', function (string) {
this.concat = string this.concat = string
@@ -10,5 +10,5 @@ When('I concatenate {string}', function (string) {
}) })
Then('the result should be {string}', function (string) { Then('the result should be {string}', function (string) {
expect(string).to.equal(this.concat) assert.equal(string, this.concat)
}) })

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,6 @@
"author": "Eugen Wissner <belka@caraus.de>", "author": "Eugen Wissner <belka@caraus.de>",
"license": "MPL-2.0", "license": "MPL-2.0",
"dependencies": { "dependencies": {
"@cucumber/cucumber": "^11.1.1", "@cucumber/cucumber": "^12.0.0"
"chai": "^5.1.2"
} }
} }

View File

@@ -1,10 +1,10 @@
import { expect } from 'chai' import { expect } from 'chai'
import { When, Then } from '@cucumber/cucumber' 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 () { When('I use chai', function () {
}) })
Then('I see chai diff on failure', 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 expect from 'expect'
import { When, Then } from '@cucumber/cucumber' 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 () { When('I use jest', function () {
}) })
Then('I see jest diff on failure', 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 assert from 'assert'
import { When, Then } from '@cucumber/cucumber' 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 () { When('I use node', function () {
}) })
Then('I see node diff on failure', 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>", "author": "Eugen Wissner <belka@caraus.de>",
"license": "MPL-2.0", "license": "MPL-2.0",
"devDependencies": {
"chai": "^5.1.2",
"expect": "^23.6.0",
"jest": "^29.7.0"
},
"dependencies": { "dependencies": {
"@cucumber/cucumber": "^11.1.1" "@cucumber/cucumber": "^12.0.0",
"chai": "^5.2.1",
"expect": "^30.0.4"
} }
} }