pg-mvc-service 2.0.92 → 2.0.93

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/dist/Service.js CHANGED
@@ -200,10 +200,6 @@ class Service {
200
200
  if (this.client !== undefined) {
201
201
  yield this.client.release();
202
202
  }
203
- if (this.isTest) {
204
- // In tests, the connection is terminated because it is shut down every time
205
- yield this.Pool.end();
206
- }
207
203
  });
208
204
  }
209
205
  get S3Client() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-mvc-service",
3
- "version": "2.0.92",
3
+ "version": "2.0.93",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/n-daira/npm-pack_mvc-service#readme",
6
6
  "bugs": {
package/src/Service.ts CHANGED
@@ -182,11 +182,6 @@ export class Service {
182
182
  if (this.client !== undefined) {
183
183
  await this.client.release();
184
184
  }
185
-
186
- if (this.isTest) {
187
- // In tests, the connection is terminated because it is shut down every time
188
- await this.Pool.end();
189
- }
190
185
  }
191
186
 
192
187
  private s3Client?: AwsS3Client;