Skip to content

Commit

Permalink
add module jest-date-mock
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed May 27, 2018
1 parent 64a7188 commit 3607c7d
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"coveralls": "^3.0.0",
"cross-env": "^5.1.3",
"jest": "^22.4.2",
"jest-date-mock": "^1.0.0",
"jest-expect": "^0.0.1",
"jsdom": "^11.5.1",
"mitt": "^1.1.3",
Expand All @@ -55,13 +56,16 @@
"rollup-plugin-uglify": "^3.0.0",
"size-limit": "^0.18.0"
},
"size-limit": [{
"limit": "2 KB",
"path": "dist/timeago.min.js"
}, {
"limit": "10 KB",
"path": "dist/timeago.locales.min.js"
}],
"size-limit": [
{
"limit": "2 KB",
"path": "dist/timeago.min.js"
},
{
"limit": "10 KB",
"path": "dist/timeago.locales.min.js"
}
],
"jest": {
"setupFiles": [],
"setupTestFrameworkScriptFile": "jest-expect",
Expand Down

0 comments on commit 3607c7d

Please sign in to comment.