From 658cea23bd55220bf7c3b2b9af21d44130eb07b2 Mon Sep 17 00:00:00 2001 From: deeperx Date: Thu, 17 Nov 2016 14:35:33 +0300 Subject: [PATCH] Update README.md for conventions used in the prior usage --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b32a2d8f2..d44ab439f 100644 --- a/README.md +++ b/README.md @@ -119,23 +119,23 @@ var should = chai.should(); ## Usage for ES6+ ```js -// Using Assert style import assert from 'chai/assert' -// Using Expect style +// Using Assert style import expect from 'chai/expect' -// Using Should style +// Using Expect style import should from 'chai/should' +// Using Should style ``` ## Usage with Mocha ```bash -# Using Assert style mocha spec.js -r chai/assert # OR: -# Using Expect style +# Using Assert style mocha spec.js -r chai/expect # OR: -# Using Should style +# Using Expect style mocha spec.js -r chai/should +# Using Should style ``` [Read more about these styles in our docs](http://chaijs.com/guide/styles/).