Skip to content

Commit

Permalink
Merge pull request #31 from unexpectedjs/depfu/update/npm/sinon-4.5.0
Browse files Browse the repository at this point in the history
Upgrade sinon to version 4.5.0
  • Loading branch information
papandreou committed Apr 17, 2018
2 parents dc706a9 + 36bfe1d commit fca7212
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bootstrap-unexpected-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ express = require('express');
unexpected.output.preferredWidth = 80;
unexpected.installPlugin(require('./lib/unexpectedExpress'));

require('sinon').useFakeTimers(1457823364125, 'Date');
require('sinon').useFakeTimers({
now: 1457823364125,
toFake: ['Date']
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"magicpen-prism": "^2.3.0",
"mocha": "^5.1.0",
"mock-fs": "^4.0.0",
"sinon": "^1.17.3",
"sinon": "^4.5.0",
"unexpected": "^10.27.0",
"unexpected-documentation-site-generator": "^4.2.3",
"unexpected-markdown": "^1.7.1",
Expand Down

0 comments on commit fca7212

Please sign in to comment.