From d804ba1fb0d08636fa49116dc0e9a51e43899bb9 Mon Sep 17 00:00:00 2001 From: mama Date: Fri, 8 Dec 2017 11:08:32 +0100 Subject: [PATCH] =?UTF-8?q?Page=20de=20test=20m=C3=A9canismes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/mecanisms.test.js | 3 +-- test/mécanismes/barème.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/mecanisms.test.js b/test/mecanisms.test.js index d43726188..b1d2f78e0 100644 --- a/test/mecanisms.test.js +++ b/test/mecanisms.test.js @@ -29,8 +29,7 @@ describe('Mécanismes', () => target = analysis.targets[0] if (isFloat(valeur)) { - let yo = expect(target.nodeValue).to.be.closeTo(valeur,0.001) - console.log('yo', yo) + expect(target.nodeValue).to.be.closeTo(valeur,0.001) } else if (valeur !== undefined) { expect(target) diff --git a/test/mécanismes/barème.yaml b/test/mécanismes/barème.yaml index fac8e56b7..ea90cdb1e 100644 --- a/test/mécanismes/barème.yaml +++ b/test/mécanismes/barème.yaml @@ -21,4 +21,4 @@ situation: assiette: 3000 base: 5000 - valeur attendue: 138 + valeur attendue: 139.5