瀏覽代碼

fix unit tests

Brian Gough 5 年之前
父節點
當前提交
46da33a67e
共有 1 個文件被更改,包括 3 次插入 和 0 次删除
  1. 3 0
      libraries/redis-wrapper/test/unit/src/test.js

+ 3 - 0
libraries/redis-wrapper/test/unit/src/test.js

@@ -51,6 +51,9 @@ describe('index', function () {
       requires: {
         ioredis: this.ioredis,
       },
+      globals: {
+        process: process,
+      },
     })
     return (this.auth_pass = '1234 pass')
   })