Index: test/stub-modules/utils.js |
diff --git a/test/stub-modules/utils.js b/test/stub-modules/utils.js |
index 7ba964e0d24127435bbd005e642524f2f9cc4905..bf263993d8cfb392820de9917459121df02176d0 100644 |
--- a/test/stub-modules/utils.js |
+++ b/test/stub-modules/utils.js |
@@ -1,12 +1,16 @@ |
+/* globals Buffer */ |
+ |
+"use strict"; |
+ |
let crypto = require("crypto"); |
exports.Utils = { |
- generateChecksum: function(lines) |
+ generateChecksum(lines) |
{ |
let buffer = new Buffer(lines.join("\n"), "utf-8"); |
let hash = crypto.createHash("md5"); |
hash.update(buffer); |
return hash.digest("base64").replace(/=+$/, ""); |
}, |
- yield: () => undefined |
+ yield() {} |
}; |