diff --git a/main.test.js b/main.test.js index c14aae68d7c21ed0a92c5df9c5c416d75ec0926e..566bffca539c6af760fe26a9a15594f7484beb06 100644 --- a/main.test.js +++ b/main.test.js @@ -5,9 +5,11 @@ const app = require("./main"); const expected = { c:0.0488, dt:86400, ud0:1000, sigPeriod:432000 } -test('app convert raw data to expected', () => { +describe('app convert raw data to expected', () => { const resultat = app(data); for(let key in expected){ - expect(resultat[key]).toBe(expected[key]); + it(`app parse ${key}`, () => { + expect(resultat[key]).toBe(expected[key]); + }); } });