1
0

Use node assertions as standard solution

This commit is contained in:
2025-07-16 16:39:09 +02:00
parent ef41c7d788
commit decd8e9e3d
18 changed files with 1789 additions and 6069 deletions

View File

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