فهرست منبع

Merge pull request #57 from overleaf/jpa-node-12-fix

[misc] test/unit: fix process usage for node v12
Jakob Ackermann 6 سال پیش
والد
کامیت
9a1a9f153b
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      services/docstore/test/unit/js/HttpControllerTests.js

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

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