Browse Source

test: Set Jest environment to "node" for all server tests

Michael Bromley 6 years ago
parent
commit
169ae564c0
2 changed files with 2 additions and 0 deletions
  1. 1 0
      packages/core/jest.config.js
  2. 1 0
      packages/email-plugin/jest.config.js

+ 1 - 0
packages/core/jest.config.js

@@ -21,4 +21,5 @@ module.exports = {
             },
             },
         },
         },
     },
     },
+    testEnvironment: 'node',
 };
 };

+ 1 - 0
packages/email-plugin/jest.config.js

@@ -21,4 +21,5 @@ module.exports = {
             },
             },
         },
         },
     },
     },
+    testEnvironment: 'node',
 };
 };