From 736db9571344dff079bddc6b43b9c45d379de43e Mon Sep 17 00:00:00 2001 From: Adrien Trouillaud Date: Wed, 7 Feb 2018 12:14:43 -0800 Subject: [PATCH] make test work again --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a2e679e..0ed9bc8 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "lib/index.js", "module": "es/index.js", "scripts": { - "test": "rm -rf coverage && jest --verbose --coverage src", + "test": "rm -rf coverage && BABEL_ENV=commonjs jest --verbose --coverage src", "build:es": "rm -rf es && BABEL_ENV=es babel src --out-dir es --ignore __tests__", "build:commonjs": "rm -rf lib && BABEL_ENV=commonjs babel src --out-dir lib --ignore __tests__", "build": "npm run build:es && npm run build:commonjs"