TEST 1 FAILED
It should work for a single country
Error: expect(received).toEqual(expected) // deep equality
Expected: 42000000
Received:
at /var/task/checkJsTask/initVM.js:27:18
at
Context.it (c10f6191-ff04-4e8e-9c98-8caddc945000/calculateAverageCountryPopulation.js:11:5)
Згорнути
TEST 2 FAILED
It should work for an empty array
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received:
at /var/task/checkJsTask/initVM.js:27:18
at
Context.it (c10f6191-ff04-4e8e-9c98-8caddc945000/calculateAverageCountryPopulation.js:18:5)
Згорнути
TEST 3 FAILED
It should work for multiple countries
Error: expect(received).toEqual(expected) // deep equality
Expected: 15850000
Received:
at /var/task/checkJsTask/initVM.js:27:18
at
Context.it (c10f6191-ff04-4e8e-9c98-8caddc945000/calculateAverageCountryPopulation.js:22:5)