diff --git a/tools/prepare.js b/tools/prepare.js
index 9197f4bb6f378262fe546d6f5e0576e3cb7a6f22..57608c0896ca63b271f8ad79cc2d3552032bda64 100644
--- a/tools/prepare.js
+++ b/tools/prepare.js
@@ -41,8 +41,6 @@ function patchJest() {
 
     const mod = require(moduleName);
     const forbidden = ['http', 'https'];
-    const warned = this._warned = this._warned || Object.create(null);
-
 
     const set = (
       target,
@@ -52,10 +50,6 @@ function patchJest() {
     ) => {
       if (target !== mod || typeof value !== 'function' || value._isMockFunction || forbidden.some(s => s === moduleName))
         return Reflect.set(target, property, value, receiver);
-      if (!warned[moduleName + '_' + property]){
-        console.warn('Patching module not allowed', moduleName, property);
-        warned[moduleName + '_' + property] = true;
-      }
       return true;
     };