diff --git a/.mocharc.json b/.mocharc.json
new file mode 100644
index 0000000000..908490ecaf
--- /dev/null
+++ b/.mocharc.json
@@ -0,0 +1,4 @@
+{
+	"timeout": 30000,
+	"slow": 1000
+}
diff --git a/test/mocha.opts b/test/mocha.opts
deleted file mode 100644
index e114c53bd8..0000000000
--- a/test/mocha.opts
+++ /dev/null
@@ -1,2 +0,0 @@
---timeout 30000
---slow 1000