Index: test_wrapper.js |
diff --git a/test_wrapper.js b/test_wrapper.js |
index 4bbf604779d8385f2ab6c061edc33ad3868ab19c..75e034d995dbb8acd18ebbcac271a2f5f712c83d 100644 |
--- a/test_wrapper.js |
+++ b/test_wrapper.js |
@@ -1,5 +1,9 @@ |
"use strict"; |
+GLOBAL.atob = data => new Buffer(data, "base64").toString("binary"); |
+GLOBAL.btoa = data => new Buffer(data, "binary").toString("base64"); |
+GLOBAL.navigator = {}; |
+ |
require("node-babel")(); |
require("./node_modules/.bin/nodeunit"); |