From 53e4c5dba6ede90f0e23b192350b3cc833834523 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 19 Dec 2024 23:54:35 +0100 Subject: Remove babel from the tutorial, assertion, async --- assertion/features/steps/chai-should.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'assertion/features/steps/chai-should.js') diff --git a/assertion/features/steps/chai-should.js b/assertion/features/steps/chai-should.js index 2d733e8..0a89ba1 100644 --- a/assertion/features/steps/chai-should.js +++ b/assertion/features/steps/chai-should.js @@ -1,5 +1,7 @@ -const { Then } = require('cucumber') -require('chai').should() +import { Then } from '@cucumber/cucumber' +import { should } from 'chai' + +should() Then('I can choose the should syntax', function () { const boolean = true -- cgit v1.2.3