mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
344 B
15 lines
344 B
import {startDaysBetween} from './time.js';
|
|
|
|
test('startDaysBetween', () => {
|
|
expect(startDaysBetween(new Date('2024-02-15'), new Date('2024-04-18'))).toEqual([
|
|
1708214400000,
|
|
1708819200000,
|
|
1709424000000,
|
|
1710028800000,
|
|
1710633600000,
|
|
1711238400000,
|
|
1711843200000,
|
|
1712448000000,
|
|
1713052800000,
|
|
]);
|
|
});
|
|
|