From ecacc806e3509527c2a2ae778b2a78266ade3617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Wed, 22 Jan 2020 17:27:33 +0100 Subject: [PATCH] Disable colors in tests --- uglify-js.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uglify-js.spec b/uglify-js.spec index 3415622..aa52958 100644 --- a/uglify-js.spec +++ b/uglify-js.spec @@ -97,7 +97,7 @@ ln -sf uglify-js@2 %{buildroot}%{nodejs_sitelib}/uglify-js sed -i '/timeout/ s/5000/10000/' test/mocha/cli.js sed -i '/timeout/ s/10000/20000/' test/mocha/let.js sed -i '/timeout/ s/20000/40000/' test/mocha/spidermonkey.js -%__nodejs test/run-tests.js +NODE_DISABLE_COLORS=true %{__nodejs} test/run-tests.js %endif @@ -132,6 +132,7 @@ end %changelog * Wed Jan 22 2020 Jan Staněk - 2.8.22-8 - Remove unneeded legacy conditionals around %%{nodejs_arches} and %%{_jsdir} +- Disable colors in tests * Sat Jul 27 2019 Fedora Release Engineering - 2.8.22-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild