From 18c0e2958a59385458148b2692545183dc8d6ad0 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Wed, 3 Jun 2020 16:45:14 +0200 Subject: [PATCH] =?UTF-8?q?:green=5Fheart:=20r=C3=A9pare=20les=20tests=20d?= =?UTF-8?q?e=20non=20regression?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../regressions/__snapshots__/simulations.jest.js.snap | 8 ++++---- mon-entreprise/webpack.prod.js | 5 +---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/mon-entreprise/test/regressions/__snapshots__/simulations.jest.js.snap b/mon-entreprise/test/regressions/__snapshots__/simulations.jest.js.snap index bc2300394..e479963d9 100644 --- a/mon-entreprise/test/regressions/__snapshots__/simulations.jest.js.snap +++ b/mon-entreprise/test/regressions/__snapshots__/simulations.jest.js.snap @@ -76,9 +76,9 @@ exports[`calculate simulations-artiste-auteur: salarié 3`] = `"[12410]"`; exports[`calculate simulations-auto-entrepreneur: ACRE 1`] = `"[21394,116,1667,0,20000]"`; -exports[`calculate simulations-auto-entrepreneur: ACRE 2`] = `"[31029,86,2500,0,30000]"`; +exports[`calculate simulations-auto-entrepreneur: ACRE 2`] = `"[33228,269,2500,0,30000]"`; -exports[`calculate simulations-auto-entrepreneur: ACRE 3`] = `"[44304,359,3333,0,40000]"`; +exports[`calculate simulations-auto-entrepreneur: ACRE 3`] = `"[45267,439,3333,0,40000]"`; exports[`calculate simulations-auto-entrepreneur: aides 1`] = `"[5348,29,417,0,5000]"`; @@ -150,7 +150,7 @@ exports[`calculate simulations-indépendant: échelle de revenus 6`] = `"[14596, exports[`calculate simulations-indépendant: échelle de revenus 7`] = `"[139594,39594,100000,103788,24245,75755,0,139594]"`; -exports[`calculate simulations-indépendant: échelle de revenus 8`] = `"[1239955,239955,1000000,1033666,467505,532494,0,1239955]"`; +exports[`calculate simulations-indépendant: échelle de revenus 8`] = `"[1239955,239955,1000000,1033666,467505,532495,0,1239955]"`; exports[`calculate simulations-rémunération-dirigeant (assimilé salarié): ACRE 1`] = `"[605,0,0,7184,4,13]"`; @@ -370,7 +370,7 @@ exports[`calculate simulations-salarié: frais pro - DFS 2`] = `"[2335,0,2000,15 exports[`calculate simulations-salarié: frais pro - DFS 3`] = `"[2265,0,2000,1606,1563]"`; -exports[`calculate simulations-salarié: frais pro - DFS 4`] = `"[2243,0,2000,1613,1567]"`; +exports[`calculate simulations-salarié: frais pro - DFS 4`] = `"[2243,0,2000,1613,1569]"`; exports[`calculate simulations-salarié: frais pro - DFS 5`] = `"[2437,0,2000,1590,1590]"`; diff --git a/mon-entreprise/webpack.prod.js b/mon-entreprise/webpack.prod.js index ed9a8b1d1..617fd6d82 100644 --- a/mon-entreprise/webpack.prod.js +++ b/mon-entreprise/webpack.prod.js @@ -65,10 +65,7 @@ module.exports = { minimize: true, minimizer: [ new TerserPlugin({ - parallel: - process.env.CI === 'true' && process.env.CIRCLECI === 'true' - ? 2 - : true + parallel: 2 }) ] },