diff --git a/package.json b/package.json
index 9e69cf1..01df493 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,7 @@
         "ramda": "^0.25.0"
     },
     "devDependencies": {
-        "chai": "^3.5.0",
+        "chai": "^4.1.2",
         "pr-log": "^2.0.0",
         "istanbul": "^0.4.2",
         "mocha": "^5.0.1",
diff --git a/test/index.js b/test/index.js
index 90e086c..951e017 100644
--- a/test/index.js
+++ b/test/index.js
@@ -21,7 +21,7 @@ describe('eslint-plugin-mocha', function () {
         ruleFiles.forEach(function (file) {
             var ruleName = path.basename(file, '.js');
 
-            expect(plugin).to.have.deep.property('rules.' + ruleName)
+            expect(plugin).to.have.nested.property('rules.' + ruleName)
                 .that.equals(require(rulesDir + ruleName));
         });
     });