Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/signatures.js

Issue 29354864: Issue 4223 - Migrate some more of adblockplustests (Closed)
Patch Set: Addressed feedback Created Oct. 3, 2016, 1:44 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/regexpFilters_matching.js ('k') | test/stub-modules/common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/signatures.js
diff --git a/test/signatures.js b/test/signatures.js
index ddc04476f264f672bb5e54446e38d04f2f414e42..d425ed0b41d86b9c825217082979f37661e7bd3d 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("rsa")
+ );
+
+ callback();
+};
exports.test512bitSigningKey = function(test)
{
« no previous file with comments | « test/regexpFilters_matching.js ('k') | test/stub-modules/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld