diff --git a/package.json b/package.json index d6886bc..0198d88 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "cov:generate": "babel-node ./node_modules/.bin/isparta cover --report text --report html test/index.js", "prepublish": "npm run check", "pretest": "npm run build", - "test": "babel-node test | tap-dot", + "test": "(babel-node test | tap-dot) && npm run lint", "clean": "rimraf dist/* && mkdir dist || true", "lint": "eslint src && eslint test", "prebuild": "npm run clean", diff --git a/src/stampit.js b/src/stampit.js index e23bd86..094032d 100644 --- a/src/stampit.js +++ b/src/stampit.js @@ -100,7 +100,7 @@ const allUtilities = { }; /** - * Infected stamp + * Infected stamp. Used as a storage of the infection metadata * @type {Function} * @return {Stamp} */ @@ -124,6 +124,7 @@ function stampit(...args) { args = args.filter(isComposable) .map(arg => isStamp(arg) ? arg : standardiseDescriptor(arg)); + // Calling the standard pure compose function here. return compose.apply(this || baseStampit, args); }