From 75d9fa3fe94ab044b799bc3ef7c6822d2913d9c4 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Thu, 20 Apr 2017 11:56:13 +0200 Subject: [PATCH] mocha babel ignores (@parity modules) --- js/test/babel.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/test/babel.js b/js/test/babel.js index c9c1d9dae..95a988d42 100644 --- a/js/test/babel.js +++ b/js/test/babel.js @@ -14,4 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Parity. If not, see . -require('babel-register')(); +require('babel-register')({ + ignore: /node_modules\/(?!@parity\/(abi|api|jsonrpc))/ +});