From 7de40e9ef7afc6b89a9a361d35e0b36f36847d41 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Thu, 26 Mar 2020 14:47:27 +1100 Subject: [PATCH] fix yarn test for CI --- preload.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/preload.js b/preload.js index f092a86a4..4b1e6220d 100644 --- a/preload.js +++ b/preload.js @@ -434,8 +434,7 @@ Promise.prototype.ignore = function() { if ( config.environment.includes('test') && - !config.environment === 'swarm-testing1' && - !config.environment === 'swarm-testing2' + !config.environment.includes('swarm-testing') ) { const isWindows = process.platform === 'win32'; /* eslint-disable global-require, import/no-extraneous-dependencies */