Przeglądaj źródła

[misc] test/unit: fix process usage for node v12

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
Jakob Ackermann 6 lat temu
rodzic
commit
80095785b8

+ 2 - 1
services/docstore/test/unit/js/HttpControllerTests.js

@@ -32,7 +32,8 @@ describe('HttpController', function() {
           error: sinon.stub()
         }),
         './HealthChecker': {}
-      }
+      },
+      globals: { process }
     })
     this.res = {
       send: sinon.stub(),