Index: test/stub-modules/utils.js |
=================================================================== |
--- a/test/stub-modules/utils.js |
+++ b/test/stub-modules/utils.js |
@@ -1,16 +1,7 @@ |
"use strict"; |
-const crypto = require("crypto"); |
- |
exports.Utils = { |
appLocale: "en-US", |
- 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() {} |
}; |