Skip to content

Commit

Permalink
chore: chore update
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Jul 29, 2020
1 parent 9f488e5 commit 6969e89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -86,7 +86,7 @@
"karma-jasmine": "^1.1.2",
"karma-sauce-launcher": "^1.1.0",
"mockdate": "^2.0.2",
"moment": "^2.22.0",
"moment": "2.27.0",
"ncp": "^2.0.0",
"pre-commit": "^1.2.2",
"prettier": "^1.16.1",
Expand Down
3 changes: 1 addition & 2 deletions test/plugin/calendar.test.js
Expand Up @@ -16,8 +16,7 @@ afterEach(() => {

it('No argument && null && undefined', () => {
expect(dayjs().calendar()).toEqual(moment().calendar())
expect(dayjs().calendar(null)).toEqual(moment().calendar(null))
expect(dayjs().calendar(undefined)).toEqual(moment().calendar(undefined))
// moment@2.27.0 does not support calendar(null) calendar(undefined)
})

it('ReferenceTime', () => {
Expand Down

0 comments on commit 6969e89

Please sign in to comment.