> Watoto@1.1.0 test /Users/cf/Documents/Code/Watoto > node node_modules/jest-cli/bin/jest.js "--coverage" "--verbose" "--colors" Using Jest CLI v12.1.1, jasmine2, babel-jest PASS Source/Pages/__tests__/DrugDoseInfo-test.js (7.644s) State renders correctly into user interface ✓ it should correctly render calculations ✓ it should correctly render description ✓ it should correctly render warning ✓ it should correctly render additional PASS Source/Pages/__tests__/ChildInfo-test.js (2.433s) User inputs correctly update state ✓ it should update the app state when an age is provided ✓ it should estimate a weight when toggled and an age provided ✓ it should estimate underweight when toggled and an age provided ✓ it should calculate a z-score when age, weight and height are provided ✓ it should calculate a MUAC score when muac is provided ✓ it should calculate an approximate body surface area when weight is provided ✓ it should calculate a body surface area when height and weight is provided State renders correctly into user interface ✓ it should correctly render age input ✓ it should correctly render age scale select ✓ it should correctly render gender select ✓ it should correctly render weight input ✓ it should correctly render height input ✓ it should correctly render muac input ✓ it should correctly render z-score ✓ it should correctly render surface area PASS Source/Data/Drugs/__tests__/Flucloxacillin-test.js (0.562s) Flucloxacillin - 5 day child ✓ it should return for 1 kg => 50 mg 12 hrly (IV / IM) ✓ it should return for 1 kg => 25 mg 12 hrly; 1 ml (125mg/5ml) 12 hrly (PO) ✓ it should return for 1.25 kg => 60 mg 12 hrly (IV / IM) ✓ it should return for 1.25 kg => 30 mg 12 hrly; 1 ml (125mg/5ml) 12 hrly (PO) ✓ it should return for 1.5 kg => 75 mg 12 hrly (IV / IM) ✓ it should return for 1.5 kg => 40 mg 12 hrly; 2 ml (125mg/5ml) 12 hrly (PO) ✓ it should return for 1.75 kg => 85 mg 12 hrly (IV / IM) ✓ it should return for 1.75 kg => 45 mg 12 hrly; 2 ml (125mg/5ml) 12 hrly (PO) ✓ it should return for 2 kg => 100 mg 12 hrly (IV / IM) ✓ it should return for 2 kg => 50 mg 12 hrly; 2 ml (125mg/5ml) 12 hrly (PO) ✓ it should return for 2.5 kg => 125 mg 12 hrly (IV / IM) ✓ it should return for 2.5 kg => 65 mg 12 hrly; 3 ml (125mg/5ml) 12 hrly (PO) ✓ it should return for 3 kg => 150 mg 12 hrly (IV / IM) ✓ it should return for 3 kg => 75 mg 12 hrly; 3 ml (125mg/5ml) 12 hrly (PO) ✓ it should return for 4 kg => 200 mg 12 hrly (IV / IM) ✓ it should return for 4 kg => 100 mg 12 hrly; 4 ml (125mg/5ml) 12 hrly (PO) Flucloxacillin - 1 week child ✓ it should return for 0.63 kg => 30 mg 12 hrly (IV / IM) ✓ it should return for 0.63 kg => 15 mg 12 hrly; 1 ml (125mg/5ml) 12 hrly (PO) ✓ it should return for 0.84 kg => 40 mg 12 hrly (IV / IM) ✓ it should return for 0.84 kg => 20 mg 12 hrly; 1 ml (125mg/5ml) 12 hrly (PO) ✓ it should return for 1.78 kg => 85 mg 12 hrly (IV / IM) ✓ it should return for 1.78 kg => 45 mg 12 hrly; 2 ml (125mg/5ml) 12 hrly (PO) ✓ it should return for 2.31 kg => 115 mg 12 hrly (IV / IM) ✓ it should return for 2.31 kg => 60 mg 12 hrly; 2 ml (125mg/5ml) 12 hrly (PO) Flucloxacillin - 8 day child ✓ it should return for 1.66 kg => 85 mg 8 hrly (IV / IM) ✓ it should return for 1.66 kg => 25 mg 8 hrly; 1 ml (125mg/5ml) 8 hrly (PO) ✓ it should return for 1.81 kg => 90 mg 8 hrly (IV / IM) ✓ it should return for 1.81 kg => 25 mg 8 hrly; 1 ml (125mg/5ml) 8 hrly (PO) ✓ it should return for 2.72 kg => 135 mg 8 hrly (IV / IM) ✓ it should return for 2.72 kg => 40 mg 8 hrly; 2.5 ml (125mg/5ml) 8 hrly; ¼ (250mg) tablet 8 hrly [One of the above] (PO) Flucloxacillin - 4 week child ✓ it should return for 0.63 kg => 30 mg 8 hrly (IV / IM) ✓ it should return for 0.63 kg => 10 mg 8 hrly; 0.5 ml (125mg/5ml) 8 hrly (PO) ✓ it should return for 1.5 kg => 75 mg 8 hrly (IV / IM) ✓ it should return for 1.5 kg => 25 mg 8 hrly; 1 ml (125mg/5ml) 8 hrly (PO) ✓ it should return for 2.11 kg => 105 mg 8 hrly (IV / IM) ✓ it should return for 2.11 kg => 30 mg 8 hrly; 1 ml (125mg/5ml) 8 hrly (PO) ✓ it should return for 3.5 kg => 175 mg 8 hrly (IV / IM) ✓ it should return for 3.5 kg => 55 mg 8 hrly; 2.5 ml (125mg/5ml) 8 hrly; ¼ (250mg) tablet 8 hrly [One of the above] (PO) Flucloxacillin - 1 month child ✓ it should return for 3.47 kg => 175 mg 8 hrly (IV / IM) ✓ it should return for 3.47 kg => 50 mg 8 hrly; 2.5 ml (125mg/5ml) 8 hrly; ¼ (250mg) tablet 8 hrly [One of the above] (PO) ✓ it should return for 5.1 kg => 255 mg 8 hrly (IV / IM) ✓ it should return for 5.1 kg => 75 mg 8 hrly; 5 ml (125mg/5ml) 8 hrly; ¼ (250mg) tablet 8 hrly [One of the above] (PO) ✓ it should return for 5.54 kg => 275 mg 8 hrly (IV / IM) ✓ it should return for 5.54 kg => 85 mg 8 hrly; 5 ml (125mg/5ml) 8 hrly; ¼ (250mg) tablet 8 hrly [One of the above] (PO) ✓ it should return for 6.1 kg => 305 mg 8 hrly (IV / IM) ✓ it should return for 6.1 kg => 90 mg 8 hrly; 5 ml (125mg/5ml) 8 hrly; ½ (250mg) tablet 8 hrly [One of the above] (PO) Flucloxacillin - 2 year child ✓ it should return for 3 kg => 150 mg 8 hrly (IV / IM) ✓ it should return for 3 kg => 45 mg 8 hrly; 2.5 ml (125mg/5ml) 8 hrly; ¼ (250mg) tablet 8 hrly [One of the above] (PO) ✓ it should return for 4 kg => 200 mg 8 hrly (IV / IM) ✓ it should return for 4 kg => 60 mg 8 hrly; 2.5 ml (125mg/5ml) 8 hrly; ¼ (250mg) tablet 8 hrly [One of the above] (PO) ✓