From 128e6d895d004148cee7e76664cb4999018f2ebe Mon Sep 17 00:00:00 2001 From: svenkatreddy Date: Sat, 17 Jun 2017 07:35:39 +0000 Subject: [PATCH] fix #1 support chai 4.0 --- CHANGELOG.md | 2 ++ README.md | 3 +++ package.json | 14 +++++++------- 3 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..773d157 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,2 @@ +## 4.0.0 +- update to chai 4.0 \ No newline at end of file diff --git a/README.md b/README.md index ea7a293..7d7af5a 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ chai with sinon-chai, dirty-chai, sinon-as-promised with mixed features +Now supports Chai 4.x ## Install ``` @@ -345,3 +346,5 @@ const testspy = sinon.spy(); expect(spy).to.always.have.been.calledWithNew(); }); ``` + +you still can use Chai 3.x with ultimate-chai 3.x \ No newline at end of file diff --git a/package.json b/package.json index d5c1814..6737930 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ultimate-chai", - "version": "3.1.0", + "version": "4.0.0", "description": "ultimate chai library you'll ever need with cross mixture of sinon-chai, dirty-chai, chai-as-promised included", "main": "index.js", "scripts": { @@ -27,14 +27,14 @@ }, "homepage": "https://github.com/svenkatreddy/ultimate-chai#readme", "dependencies": { - "chai": "^3.5.0", - "chai-as-promised": "^6.0.0", - "dirty-chai": "^1.2.2", + "chai": "^4.0.2", + "chai-as-promised": "^7.0.0", + "dirty-chai": "^2.0.0", "sinon": "^2.1.0", - "sinon-chai": "^2.9.0" + "sinon-chai": "^2.11.0" }, "devDependencies": { - "mocha": "^3.2.0", - "sinon": "^2.1.0" + "mocha": "^3.4.2", + "sinon": "^2.3.4" } }