summaryrefslogtreecommitdiff
path: root/1args/features/steps
diff options
context:
space:
mode:
Diffstat (limited to '1args/features/steps')
-rw-r--r--1args/features/steps/addition.js4
-rw-r--r--1args/features/steps/concat.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/1args/features/steps/addition.js b/1args/features/steps/addition.js
index 0f074e4..ea6fc9c 100644
--- a/1args/features/steps/addition.js
+++ b/1args/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) {
})
@@ -8,5 +8,5 @@ When('I add {int}', function (int) {
})
Then('the result should be {int}', function (int) {
- expect(int).to.equal(11)
+ assert.equal(int, 11)
})
diff --git a/1args/features/steps/concat.js b/1args/features/steps/concat.js
index 0d8cfd9..529d697 100644
--- a/1args/features/steps/concat.js
+++ b/1args/features/steps/concat.js
@@ -1,9 +1,9 @@
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) {
})
Then('the result should be {string}', function (string) {
- expect(string).to.equal("Georg Cantor")
+ assert.equal(string, 'Georg Cantor')
})