summaryrefslogtreecommitdiff
path: root/2obj/features
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-07-16 15:10:10 +0200
committerEugen Wissner <belka@caraus.de>2025-07-16 15:10:10 +0200
commitef41c7d7884fa4fae8b6eba53d8fab0f584a97cf (patch)
tree1603a612b59e806e31bcdfd1dd73638aa08b2f4b /2obj/features
parent738f4f2bdb7228b8f2f9bd74979adf361cf1b293 (diff)
downloadcucumber-js-demo-ef41c7d7884fa4fae8b6eba53d8fab0f584a97cf.tar.gz
Remove unused jest dependency
Diffstat (limited to '2obj/features')
-rw-r--r--2obj/features/steps/addition.js4
-rw-r--r--2obj/features/steps/concat.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/2obj/features/steps/addition.js b/2obj/features/steps/addition.js
index 0752b32..a962c7e 100644
--- a/2obj/features/steps/addition.js
+++ b/2obj/features/steps/addition.js
@@ -1,5 +1,5 @@
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) {
this.calc = int
@@ -10,5 +10,5 @@ When('I add {int}', function (int) {
})
Then('the result should be {int}', function (int) {
- expect(this.calc).to.equal(int)
+ assert.equal(this.calc, int)
})
diff --git a/2obj/features/steps/concat.js b/2obj/features/steps/concat.js
index 2d9e5bd..94563b8 100644
--- a/2obj/features/steps/concat.js
+++ b/2obj/features/steps/concat.js
@@ -1,5 +1,5 @@
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) {
this.concat = string
@@ -10,5 +10,5 @@ When('I concatenate {string}', function (string) {
})
Then('the result should be {string}', function (string) {
- expect(string).to.equal(this.concat)
+ assert.equal(string, this.concat)
})