summaryrefslogtreecommitdiff
path: root/ts/features/steps
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-07-16 16:39:09 +0200
committerEugen Wissner <belka@caraus.de>2025-07-16 16:39:09 +0200
commitdecd8e9e3d98d79b33c56e1c1a53e11fb5047c4a (patch)
tree70e4c86900f0a2363036d47f440e3269ecff02fb /ts/features/steps
parentef41c7d7884fa4fae8b6eba53d8fab0f584a97cf (diff)
downloadcucumber-js-demo-decd8e9e3d98d79b33c56e1c1a53e11fb5047c4a.tar.gz
Use node assertions as standard solution
Diffstat (limited to 'ts/features/steps')
-rw-r--r--ts/features/steps/composition.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/ts/features/steps/composition.ts b/ts/features/steps/composition.ts
index 9a75e2a..3e9bf55 100644
--- a/ts/features/steps/composition.ts
+++ b/ts/features/steps/composition.ts
@@ -1,10 +1,10 @@
import { When, Then } from '@cucumber/cucumber';
-import { expect } from 'chai';
+import assert from 'node:assert/strict';
When('the step definitions are written in {word}', function (language: string) {
this.language = language;
});
Then("I don't get a warning about undefined steps", function () {
- expect(this.language).to.equal('TypeScript');
+ assert.equal(this.language, 'TypeScript');
});