From cb4b83445209af67a0bcf4456999e27696766b05 Mon Sep 17 00:00:00 2001 From: PakkuDon Date: Sat, 20 Oct 2018 21:38:04 +1100 Subject: [PATCH] Update Leap tests to match canonical data in v1.4.0 New test added in https://github.com/exercism/problem-specifications/pull/1359 --- exercises/leap/leap.spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exercises/leap/leap.spec.js b/exercises/leap/leap.spec.js index ed1df97a26..fbcf1b25d6 100644 --- a/exercises/leap/leap.spec.js +++ b/exercises/leap/leap.spec.js @@ -16,4 +16,8 @@ describe('A leap year', () => { xtest('year divisible by 400: leap year', () => { expect(isLeap(2000)).toBeTruthy(); }); + + xtest('year divisible by 200, not divisible by 400: common year', () => { + expect(isLeap(1800)).toBeFalsy(); + }); });