Skip to content
Snippets Groups Projects
Commit 81a51b01 authored by Agustin's avatar Agustin
Browse files

Test fix

Fixes Check test that was passing invalid individualMaternity
parent 942082e5
No related branches found
No related tags found
No related merge requests found
Pipeline #15879 passed with stage
in 1 minute and 30 seconds
......@@ -4,7 +4,7 @@ import sex from '../src/Enum/Sex';
const ERCalculator = require('../src/Services/ERCalculator');
describe('Check', () => {
it("Probar si se devuelve 'true' cuando el tipo es IndividualMaternity", () => { expect(ERCalculator.isIndividualMaternity({ pregnantWoman: 5, lactatingWomen: 2 })).toBe(true); });
it("Probar si se devuelve 'true' cuando el tipo es IndividualMaternity", () => { expect(ERCalculator.isIndividualMaternity({ pregnantWomen: 5, lactatingWomen: 2 })).toBe(true); });
it("Probar si se devuelve 'false' cuando el tipo NO es IndividualMaternity", () => { expect(ERCalculator.isIndividualMaternity({ countryBirthRate: 3, countryWomenInAgeGroup: 2, countryPopulation: 1239 })).toBe(false); });
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment