From db44d68e11e8c93d2409f175c32b93dc11c19b54 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Thu, 16 May 2019 10:15:18 +0200 Subject: [PATCH] Improve tests isolation --- bin/test-isolated | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/test-isolated b/bin/test-isolated index c0057a9d5..1df1925a6 100755 --- a/bin/test-isolated +++ b/bin/test-isolated @@ -35,7 +35,7 @@ const run = path => { process.stderr.write(String(stderrBuffer)); }; return spawn('./bin/test', ['--require=sinon-bluebird', path], { - env: Object.assign({ FORCE_COLOR: '1' }, process.env), + env: { FORCE_COLOR: '1', PATH: process.env.PATH }, }).then(onFinally, error => { ongoing.clear(); onFinally(error);