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: Get filterListener tests passing reliably Created Sept. 29, 2016, 3:57 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..3b871ed825deca8cf05363c92366ffc47b0974b4 100644
--- a/test/signatures.js
+++ b/test/signatures.js
@@ -17,7 +17,10 @@
"use strict";
-let {verifySignature} = require("rsa");
+let {createSandbox} = require("common");
+let sandboxedRequire = createSandbox();
+
+let {verifySignature} = sandboxedRequire("rsa");
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