@adaptivestone/framework 3.0.9 → 3.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/config/mail.js +1 -1
- package/package.json +1 -1
- package/tests/setup.js +7 -7
package/CHANGELOG.md
CHANGED
package/config/mail.js
CHANGED
|
@@ -17,7 +17,7 @@ module.exports = {
|
|
|
17
17
|
connectionTimeout: 10000, // timeout to 10 seconds
|
|
18
18
|
},
|
|
19
19
|
},
|
|
20
|
-
transport: 'smtp',
|
|
20
|
+
transport: process.env.EMAIL_TRANSPORT || 'smtp',
|
|
21
21
|
webResources: {
|
|
22
22
|
// https://github.com/jrit/web-resource-inliner path to find resources
|
|
23
23
|
relativeTo: 'build',
|
package/package.json
CHANGED
package/tests/setup.js
CHANGED
|
@@ -67,11 +67,11 @@ afterAll(async () => {
|
|
|
67
67
|
global.server.app.httpServer.shutdown();
|
|
68
68
|
global.server.app.events.emit('shutdown');
|
|
69
69
|
}
|
|
70
|
-
setTimeout(async () => {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}, 2000);
|
|
70
|
+
// setTimeout(async () => {
|
|
71
|
+
if (typeof global.testSetup.afterAll === 'function') {
|
|
72
|
+
await global.testSetup.afterAll();
|
|
73
|
+
}
|
|
74
|
+
await mongoose.disconnect();
|
|
75
|
+
await mongoMemoryServerInstance.stop();
|
|
76
|
+
// }, 2000);
|
|
77
77
|
});
|