Jelajahi Sumber

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

Michael Bromley 6 tahun lalu
induk
melakukan
169ae564c0
2 mengubah file dengan 2 tambahan dan 0 penghapusan
  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',
 };