From decd8e9e3d98d79b33c56e1c1a53e11fb5047c4a Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 16 Jul 2025 16:39:09 +0200 Subject: Use node assertions as standard solution --- ts/features/steps/composition.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ts/features/steps') 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'); }); -- cgit v1.2.3