From 8a238f557fc235a250f08a26b9778eee6839b1ee Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Fri, 25 Sep 2015 10:51:14 +0200 Subject: [PATCH 1/2] Support chai@3.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5ec210d..b5b16af 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "homepage": "https://github.com/prodatakey/karma-dirty-chai", "peerDependencies": { "karma": ">=0.10", - "chai": "<1.10.0 || >1.10.0 <3", + "chai": "<1.10.0 || >1.10.0 <4", "dirty-chai": "^1.2.0" } } From 0d993f5a7add46299eb217429e5fcaa115528279 Mon Sep 17 00:00:00 2001 From: Justin Lau Date: Sun, 4 Oct 2015 17:33:11 +0800 Subject: [PATCH 2/2] No longer include chai in the files array. --- index.js | 1 - package.json | 1 - 2 files changed, 2 deletions(-) diff --git a/index.js b/index.js index 155d93b..d774c31 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,6 @@ var pattern = function(file) { var framework = function(files) { files.unshift(pattern(path.resolve(require.resolve('dirty-chai')))); - files.unshift(pattern(path.resolve(require.resolve('chai'), '../chai.js'))); }; framework.$inject = ['config.files']; diff --git a/package.json b/package.json index b5b16af..4a0dfb6 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "homepage": "https://github.com/prodatakey/karma-dirty-chai", "peerDependencies": { "karma": ">=0.10", - "chai": "<1.10.0 || >1.10.0 <4", "dirty-chai": "^1.2.0" } }