Skip to content

Commit

Permalink
Fix lint violations for valid-jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
mroderick committed Oct 8, 2018
1 parent 5715752 commit 8192c78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/sinon/util/core/is-es-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
* As the exports from a module is immutable we cannot alter the exports
* using spies or stubs. Let the consumer know this to avoid bug reports
* on weird error messages.
*
* @param {Object} object The object to examine
*
* @returns {Boolean} true when the object is a module
*/
module.exports = function (object) {
return (
Expand Down
3 changes: 2 additions & 1 deletion lib/sinon/util/fake_timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ var hasOwnProperty = require("@sinonjs/commons").prototypes.object.hasOwnPropert
var llx = require("lolex");

/**
* @param config {number|Date|Object} the unix epoch value to install with (default 0) or
* @param {number|Date|Object} args The unix epoch value to install with (default 0)
* @returns {Object} Returns a lolex clock instance
*/
exports.useFakeTimers = function (args) {
var config = {};
Expand Down

0 comments on commit 8192c78

Please sign in to comment.