summaryrefslogtreecommitdiff
path: root/assertion/features/steps/chai-should.js
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2018-12-31 07:44:25 +0100
committerEugen Wissner <belka@caraus.de>2018-12-31 07:44:25 +0100
commit54fcfda40a14b5c3150faff6b2929a31eeea057a (patch)
treeb739da73f9d2ede3e2f959d518de0b2f9babe1c5 /assertion/features/steps/chai-should.js
parentc623c4d16f14362cc50418e0f6e5875f785f587e (diff)
downloadcucumber-js-demo-54fcfda40a14b5c3150faff6b2929a31eeea057a.tar.gz
Add node, chai, jest diff comparison
Diffstat (limited to 'assertion/features/steps/chai-should.js')
-rw-r--r--assertion/features/steps/chai-should.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/assertion/features/steps/chai-should.js b/assertion/features/steps/chai-should.js
new file mode 100644
index 0000000..2d733e8
--- /dev/null
+++ b/assertion/features/steps/chai-should.js
@@ -0,0 +1,8 @@
+const { Then } = require('cucumber')
+require('chai').should()
+
+Then('I can choose the should syntax', function () {
+ const boolean = true
+
+ boolean.should.be.true
+})