Comparing version 3.0.1 to 3.1.0
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "return an md5sum of a given file", | ||
@@ -14,0 +14,0 @@ "keywords": [ |
@@ -6,2 +6,3 @@ /* eslint-env mocha */ | ||
var md5File = require('./') | ||
var md5FileAsPromised = require('./promise') | ||
var assert = require('assert') | ||
@@ -59,2 +60,10 @@ | ||
}) | ||
if (typeof Promise !== 'undefined') { | ||
it('provides a Promise based api', function () { | ||
return md5FileAsPromised(filename).then(function (hash) { | ||
assert.equal(hash, preCheckedSum) | ||
}) | ||
}) | ||
} | ||
}) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4103
86