From 3fdfa45029acf79d78764e136b5abac8a80b5ee8 Mon Sep 17 00:00:00 2001 From: apathytomorrow Date: Wed, 28 Jan 2015 15:27:34 +0000 Subject: [PATCH] Added IsDuration tests --- moment/moment-external-tests.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/moment/moment-external-tests.ts b/moment/moment-external-tests.ts index ced06cdbf..1b1d083ba 100644 --- a/moment/moment-external-tests.ts +++ b/moment/moment-external-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();