From 067d6bb1cb6190538dddc3b77317146fafdd2f9f Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Sun, 13 May 2018 06:05:43 -0400 Subject: [PATCH] Try to fix Windows CI --- test/index.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/index.test.js b/test/index.test.js index 2db92c7d..dfee9985 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -8,7 +8,7 @@ function fixture (name) { function trim (num) { // round number with assumption - return Math.floor(num / 20) * 20 + return Math.floor(num / 50) * 50 } it('returns 0 for parsed and gzip empty project', () => { @@ -49,13 +49,13 @@ it('support images', () => { it('supports CSS', () => { return getSize(fixture('css/index')).then(size => { - expect(trim(size.gzip)).toEqual(2340) + expect(trim(size.gzip)).toEqual(2300) }) }) it('supports CSS modules', () => { return getSize(fixture('cssmodules/index')).then(size => { - expect(trim(size.gzip)).toEqual(2360) + expect(trim(size.gzip)).toEqual(2350) }) })