mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
add missing external test
these tests existed in moment-tests.ts but were missing in moment-external-tests.ts
This commit is contained in:
@@ -87,6 +87,13 @@ m2.add('hours', 24).hours();
|
||||
var duration = moment.duration({'days': 1});
|
||||
moment([2012, 0, 31]).add(duration);
|
||||
|
||||
moment().add('seconds', 1);
|
||||
moment().add('seconds', '1');
|
||||
moment().add(1, 'seconds');
|
||||
|
||||
moment().add('1', 'seconds');
|
||||
moment().add('seconds', '1');
|
||||
|
||||
moment().subtract('days', 7);
|
||||
|
||||
moment().seconds(30);
|
||||
|
||||
Reference in New Issue
Block a user