summaryrefslogtreecommitdiff
path: root/assertion/features/steps/chai-should.js
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-12-19 23:54:35 +0100
committerEugen Wissner <belka@caraus.de>2024-12-19 23:54:35 +0100
commit53e4c5dba6ede90f0e23b192350b3cc833834523 (patch)
tree5ef55d3d1628ce5099a9cc66f4feaa75b4836c82 /assertion/features/steps/chai-should.js
parentce48d3176929481eae19f1d7536823de56fbb9d3 (diff)
downloadcucumber-js-demo-53e4c5dba6ede90f0e23b192350b3cc833834523.tar.gz
Remove babel from the tutorial, assertion, async
Diffstat (limited to 'assertion/features/steps/chai-should.js')
-rw-r--r--assertion/features/steps/chai-should.js6
1 files changed, 4 insertions, 2 deletions
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