Index: test/signatures.js |
diff --git a/test/signatures.js b/test/signatures.js |
index ddc04476f264f672bb5e54446e38d04f2f414e42..ae61f0de5a4fba269850f7da76bae230146b5228 100644 |
--- a/test/signatures.js |
+++ b/test/signatures.js |
@@ -17,7 +17,19 @@ |
"use strict"; |
-let {verifySignature} = require("rsa"); |
+let {createSandbox} = require("./_common"); |
+ |
+let verifySignature = null; |
+ |
+exports.setUp = function(callback) |
+{ |
+ let sandboxedRequire = createSandbox(); |
+ ( |
+ {verifySignature} = sandboxedRequire("../lib/rsa") |
+ ); |
+ |
+ callback(); |
+}; |
exports.test512bitSigningKey = function(test) |
{ |