Closed jsmreese closed 6 years ago
Failing test:
equal(moment.duration(10.01, "minutes").format("m:ss", { maxValue: 10, trim: false }), "> 10:00"); equal(moment.duration(10.01, "minutes").format("m:ss", { maxValue: 10 }), "> 10:00"); equal(moment.duration(10.01, "minutes").format("m:ss", { maxValue: 10, trim: }), "> 10:00");
If maxValue is surpassed, trim should do something useful based on context. Likewise with minValue.
Failing test:
If maxValue is surpassed, trim should do something useful based on context. Likewise with minValue.