Skip to content

Commit

Permalink
chore: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Mar 27, 2022
1 parent b292d06 commit ab20bd9
Show file tree
Hide file tree
Showing 3 changed files with 1,806 additions and 1,904 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@naturalcycles/dev-lib": "^12.6.0",
"@naturalcycles/js-lib": "^14.6.1",
"@naturalcycles/nodejs-lib": "^12.11.3",
"@types/node": "^16.10.2",
"@types/node": "^17.0.23",
"jest": "^27.0.1",
"moment": "^2.24.0"
},
Expand Down
30 changes: 15 additions & 15 deletions src/dayjsRange.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,21 @@ test('dayjsRange', () => {

expect(dayjsRange('2021-12-24', '2021-12-26', 4, 'hour').map(d => d.toPretty(false)))
.toMatchInlineSnapshot(`
Array [
"2021-12-24 00:00",
"2021-12-24 04:00",
"2021-12-24 08:00",
"2021-12-24 12:00",
"2021-12-24 16:00",
"2021-12-24 20:00",
"2021-12-25 00:00",
"2021-12-25 04:00",
"2021-12-25 08:00",
"2021-12-25 12:00",
"2021-12-25 16:00",
"2021-12-25 20:00",
]
`)
Array [
"2021-12-24 00:00",
"2021-12-24 04:00",
"2021-12-24 08:00",
"2021-12-24 12:00",
"2021-12-24 16:00",
"2021-12-24 20:00",
"2021-12-25 00:00",
"2021-12-25 04:00",
"2021-12-25 08:00",
"2021-12-25 12:00",
"2021-12-25 16:00",
"2021-12-25 20:00",
]
`)
})

test('dayjsEarliest, dayjsLatest', () => {
Expand Down
Loading

0 comments on commit ab20bd9

Please sign in to comment.