Update fromnow-tests.ts

This commit is contained in:
marinewater
2016-03-27 01:46:28 +01:00
parent 99dd7809c6
commit 596756140d
+5 -1
View File
@@ -6,6 +6,10 @@ function dateOnly() {
fromnow( '2015-12-31' );
}
function dateObjectOnly() {
fromnow( new Date() );
}
function maxChunks() {
fromnow( '2015-12-31', {
maxChunks: 12
@@ -22,4 +26,4 @@ function useAnd() {
fromnow( '2015-12-31', {
useAnd: true
});
}
}