From b9318019f8398af36725ae07876623acdc8d1a90 Mon Sep 17 00:00:00 2001 From: apathytomorrow Date: Wed, 28 Jan 2015 15:26:47 +0000 Subject: [PATCH] Addd isDuration tests --- moment/moment-tests.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/moment/moment-tests.ts b/moment/moment-tests.ts index d58a27fe3..dc11eeac8 100644 --- a/moment/moment-tests.ts +++ b/moment/moment-tests.ts @@ -195,6 +195,10 @@ moment.isMoment(); moment.isMoment(new Date()); moment.isMoment(moment()); +moment.isDuration(); +moment.isDuration(new Date()); +moment.isDuration(moment.duration()); + moment.localeData('fr'); moment(1316116057189).fromNow();