@tsed/platform-test-sdk 7.56.0 → 7.57.1

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.
Files changed (87) hide show
  1. package/lib/cjs/tests/testAcceptMime.js.map +1 -1
  2. package/lib/cjs/tests/testAuth.js.map +1 -1
  3. package/lib/cjs/tests/testBodyParams.js.map +1 -1
  4. package/lib/cjs/tests/testCache.js.map +1 -1
  5. package/lib/cjs/tests/testChildrenControllers.js.map +1 -1
  6. package/lib/cjs/tests/testCookies.js.map +1 -1
  7. package/lib/cjs/tests/testCtrlInheritance.js.map +1 -1
  8. package/lib/cjs/tests/testCustom404.js.map +1 -1
  9. package/lib/cjs/tests/testErrors.js.map +1 -1
  10. package/lib/cjs/tests/testHandlers.js.map +1 -1
  11. package/lib/cjs/tests/testHeaderParams.js.map +1 -1
  12. package/lib/cjs/tests/testHeaders.js.map +1 -1
  13. package/lib/cjs/tests/testInheritanceController.js.map +1 -1
  14. package/lib/cjs/tests/testLocals.js.map +1 -1
  15. package/lib/cjs/tests/testLocation.js.map +1 -1
  16. package/lib/cjs/tests/testMiddlewares.js.map +1 -1
  17. package/lib/cjs/tests/testModule.js.map +1 -1
  18. package/lib/cjs/tests/testMulter.js.map +1 -1
  19. package/lib/cjs/tests/testPathParams.js.map +1 -1
  20. package/lib/cjs/tests/testQueryParams.js.map +1 -1
  21. package/lib/cjs/tests/testRedirect.js.map +1 -1
  22. package/lib/cjs/tests/testResponse.js.map +1 -1
  23. package/lib/cjs/tests/testResponseFilter.js.map +1 -1
  24. package/lib/cjs/tests/testRouting.js.map +1 -1
  25. package/lib/cjs/tests/testScopeRequest.js.map +1 -1
  26. package/lib/cjs/tests/testSession.js.map +1 -1
  27. package/lib/cjs/tests/testStatics.js.map +1 -1
  28. package/lib/cjs/tests/testView.js.map +1 -1
  29. package/lib/esm/tests/testAcceptMime.js.map +1 -1
  30. package/lib/esm/tests/testAuth.js.map +1 -1
  31. package/lib/esm/tests/testBodyParams.js.map +1 -1
  32. package/lib/esm/tests/testCache.js.map +1 -1
  33. package/lib/esm/tests/testChildrenControllers.js.map +1 -1
  34. package/lib/esm/tests/testCookies.js.map +1 -1
  35. package/lib/esm/tests/testCtrlInheritance.js.map +1 -1
  36. package/lib/esm/tests/testCustom404.js.map +1 -1
  37. package/lib/esm/tests/testErrors.js.map +1 -1
  38. package/lib/esm/tests/testHandlers.js.map +1 -1
  39. package/lib/esm/tests/testHeaderParams.js.map +1 -1
  40. package/lib/esm/tests/testHeaders.js.map +1 -1
  41. package/lib/esm/tests/testInheritanceController.js.map +1 -1
  42. package/lib/esm/tests/testLocals.js.map +1 -1
  43. package/lib/esm/tests/testLocation.js.map +1 -1
  44. package/lib/esm/tests/testMiddlewares.js.map +1 -1
  45. package/lib/esm/tests/testModule.js.map +1 -1
  46. package/lib/esm/tests/testMulter.js.map +1 -1
  47. package/lib/esm/tests/testPathParams.js.map +1 -1
  48. package/lib/esm/tests/testQueryParams.js.map +1 -1
  49. package/lib/esm/tests/testRedirect.js.map +1 -1
  50. package/lib/esm/tests/testResponse.js.map +1 -1
  51. package/lib/esm/tests/testResponseFilter.js.map +1 -1
  52. package/lib/esm/tests/testRouting.js.map +1 -1
  53. package/lib/esm/tests/testScopeRequest.js.map +1 -1
  54. package/lib/esm/tests/testSession.js.map +1 -1
  55. package/lib/esm/tests/testStatics.js.map +1 -1
  56. package/lib/esm/tests/testView.js.map +1 -1
  57. package/lib/tsconfig.esm.tsbuildinfo +1 -1
  58. package/lib/tsconfig.tsbuildinfo +1 -1
  59. package/package.json +12 -12
  60. package/src/tests/testAcceptMime.ts +1 -1
  61. package/src/tests/testAuth.ts +1 -1
  62. package/src/tests/testBodyParams.ts +1 -1
  63. package/src/tests/testCache.ts +1 -1
  64. package/src/tests/testChildrenControllers.ts +1 -1
  65. package/src/tests/testCookies.ts +1 -1
  66. package/src/tests/testCtrlInheritance.ts +1 -1
  67. package/src/tests/testCustom404.ts +1 -1
  68. package/src/tests/testErrors.ts +1 -1
  69. package/src/tests/testHandlers.ts +1 -1
  70. package/src/tests/testHeaderParams.ts +1 -1
  71. package/src/tests/testHeaders.ts +1 -1
  72. package/src/tests/testInheritanceController.ts +1 -1
  73. package/src/tests/testLocals.ts +1 -1
  74. package/src/tests/testLocation.ts +1 -1
  75. package/src/tests/testMiddlewares.ts +1 -1
  76. package/src/tests/testModule.ts +1 -1
  77. package/src/tests/testMulter.ts +1 -1
  78. package/src/tests/testPathParams.ts +1 -1
  79. package/src/tests/testQueryParams.ts +1 -1
  80. package/src/tests/testRedirect.ts +1 -1
  81. package/src/tests/testResponse.ts +1 -1
  82. package/src/tests/testResponseFilter.ts +1 -1
  83. package/src/tests/testRouting.ts +1 -1
  84. package/src/tests/testScopeRequest.ts +1 -1
  85. package/src/tests/testSession.ts +1 -1
  86. package/src/tests/testStatics.ts +1 -1
  87. package/src/tests/testView.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/platform-test-sdk",
3
- "version": "7.56.0",
3
+ "version": "7.57.1",
4
4
  "description": "Package to test platform adapter integration with Ts.ED",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
@@ -28,18 +28,18 @@
28
28
  "Adapter"
29
29
  ],
30
30
  "dependencies": {
31
- "@tsed/ajv": "7.56.0",
32
- "@tsed/common": "7.56.0",
33
- "@tsed/core": "7.56.0",
34
- "@tsed/di": "7.56.0",
35
- "@tsed/json-mapper": "7.56.0",
31
+ "@tsed/ajv": "7.57.1",
32
+ "@tsed/common": "7.57.1",
33
+ "@tsed/core": "7.57.1",
34
+ "@tsed/di": "7.57.1",
35
+ "@tsed/json-mapper": "7.57.1",
36
36
  "@tsed/logger": "6.6.3",
37
- "@tsed/platform-cache": "7.56.0",
38
- "@tsed/platform-params": "7.56.0",
39
- "@tsed/platform-router": "7.56.0",
40
- "@tsed/platform-views": "7.56.0",
41
- "@tsed/schema": "7.56.0",
42
- "@tsed/swagger": "7.56.0",
37
+ "@tsed/platform-cache": "7.57.1",
38
+ "@tsed/platform-params": "7.57.1",
39
+ "@tsed/platform-router": "7.57.1",
40
+ "@tsed/platform-views": "7.57.1",
41
+ "@tsed/schema": "7.57.1",
42
+ "@tsed/swagger": "7.57.1",
43
43
  "ajv": "^8.12.0",
44
44
  "axios": "^1.3.0",
45
45
  "read-pkg-up": "7.0.1"
@@ -22,7 +22,7 @@ class TestAcceptMimeCtrl {
22
22
  }
23
23
 
24
24
  export function testAcceptMime(options: PlatformTestingSdkOpts) {
25
- let request: SuperTest.SuperTest<SuperTest.Test>;
25
+ let request: SuperTest.Agent;
26
26
 
27
27
  beforeAll(
28
28
  PlatformTest.bootstrap(options.server, {
@@ -101,7 +101,7 @@ class TestAuthCtrl {
101
101
  }
102
102
 
103
103
  export function testAuth(options: PlatformTestingSdkOpts) {
104
- let request: SuperTest.SuperTest<SuperTest.Test>;
104
+ let request: SuperTest.Agent;
105
105
 
106
106
  beforeAll(
107
107
  PlatformTest.bootstrap(options.server, {
@@ -137,7 +137,7 @@ class TestBodyParamsCtrl {
137
137
  }
138
138
 
139
139
  export function testBodyParams(options: PlatformTestingSdkOpts) {
140
- let request: SuperTest.SuperTest<SuperTest.Test>;
140
+ let request: SuperTest.Agent;
141
141
 
142
142
  beforeAll(
143
143
  PlatformTest.bootstrap(options.server, {
@@ -7,7 +7,7 @@ import {PlatformTestingSdkOpts} from "../interfaces";
7
7
  let increment = 0;
8
8
 
9
9
  export function testCache(options: PlatformTestingSdkOpts) {
10
- let request: SuperTest.SuperTest<SuperTest.Test>;
10
+ let request: SuperTest.Agent;
11
11
 
12
12
  class MyModel {
13
13
  @Property()
@@ -3,7 +3,7 @@ import SuperTest from "supertest";
3
3
  import {PlatformTestingSdkOpts} from "../interfaces";
4
4
 
5
5
  export function testChildrenControllers(options: PlatformTestingSdkOpts) {
6
- let request: SuperTest.SuperTest<SuperTest.Test>;
6
+ let request: SuperTest.Agent;
7
7
 
8
8
  @Controller("/children")
9
9
  class TestChildController {
@@ -15,7 +15,7 @@ export class CookiesCtrl {
15
15
  }
16
16
 
17
17
  export function testCookies(options: PlatformTestingSdkOpts) {
18
- let request: SuperTest.SuperTest<SuperTest.Test>;
18
+ let request: SuperTest.Agent;
19
19
  beforeAll(
20
20
  PlatformTest.bootstrap(options.server, {
21
21
  ...options,
@@ -31,7 +31,7 @@ export class TestChildController extends TestBaseController {
31
31
  }
32
32
 
33
33
  export function testCtrlInheritance(options: PlatformTestingSdkOpts) {
34
- let request: SuperTest.SuperTest<SuperTest.Test>;
34
+ let request: SuperTest.Agent;
35
35
 
36
36
  beforeAll(
37
37
  PlatformTest.bootstrap(options.server, {
@@ -5,7 +5,7 @@ import {PlatformTestingSdkOpts} from "../interfaces";
5
5
  export function testCustom404(options: PlatformTestingSdkOpts) {
6
6
  class CustomServer extends options.server {}
7
7
 
8
- let request: SuperTest.SuperTest<SuperTest.Test>;
8
+ let request: SuperTest.Agent;
9
9
  beforeAll(
10
10
  PlatformTest.bootstrap(CustomServer, {
11
11
  ...options,
@@ -94,7 +94,7 @@ export class ErrorsCtrl {
94
94
  }
95
95
 
96
96
  export function testErrors(options: PlatformTestingSdkOpts) {
97
- let request: SuperTest.SuperTest<SuperTest.Test>;
97
+ let request: SuperTest.Agent;
98
98
  beforeAll(
99
99
  PlatformTest.bootstrap(options.server, {
100
100
  ...options,
@@ -53,7 +53,7 @@ export class HandlersCtrl {
53
53
  }
54
54
 
55
55
  export function testHandlers(options: PlatformTestingSdkOpts) {
56
- let request: SuperTest.SuperTest<SuperTest.Test>;
56
+ let request: SuperTest.Agent;
57
57
  beforeAll(
58
58
  PlatformTest.bootstrap(options.server, {
59
59
  ...options,
@@ -49,7 +49,7 @@ export class HeaderParamsCtrl {
49
49
  }
50
50
 
51
51
  export function testHeaderParams(options: PlatformTestingSdkOpts) {
52
- let request: SuperTest.SuperTest<SuperTest.Test>;
52
+ let request: SuperTest.Agent;
53
53
  beforeAll(
54
54
  PlatformTest.bootstrap(options.server, {
55
55
  ...options,
@@ -32,7 +32,7 @@ export class HeadersCtrl {
32
32
  }
33
33
 
34
34
  export function testHeaders(options: PlatformTestingSdkOpts) {
35
- let request: SuperTest.SuperTest<SuperTest.Test>;
35
+ let request: SuperTest.Agent;
36
36
 
37
37
  beforeAll(
38
38
  PlatformTest.bootstrap(options.server, {
@@ -92,7 +92,7 @@ export class FindingsController extends AttachmentController {
92
92
  }
93
93
 
94
94
  export function testInheritanceController(options: PlatformTestingSdkOpts) {
95
- let request: SuperTest.SuperTest<SuperTest.Test>;
95
+ let request: SuperTest.Agent;
96
96
 
97
97
  beforeAll(
98
98
  PlatformTest.bootstrap(options.server, {
@@ -22,7 +22,7 @@ class LocalsCtrl {
22
22
  }
23
23
 
24
24
  export function testLocals(options: PlatformTestingSdkOpts) {
25
- let request: SuperTest.SuperTest<SuperTest.Test>;
25
+ let request: SuperTest.Agent;
26
26
  beforeAll(
27
27
  PlatformTest.bootstrap(options.server, {
28
28
  ...options,
@@ -13,7 +13,7 @@ class LocationCtrl {
13
13
  }
14
14
 
15
15
  export function testLocation(options: PlatformTestingSdkOpts) {
16
- let request: SuperTest.SuperTest<SuperTest.Test>;
16
+ let request: SuperTest.Agent;
17
17
 
18
18
  beforeAll(
19
19
  PlatformTest.bootstrap(options.server, {
@@ -105,7 +105,7 @@ class TestMiddlewaresCtrl {
105
105
  }
106
106
 
107
107
  export function testMiddlewares(options: PlatformTestingSdkOpts) {
108
- let request: SuperTest.SuperTest<SuperTest.Test>;
108
+ let request: SuperTest.Agent;
109
109
 
110
110
  beforeAll(
111
111
  PlatformTest.bootstrap(options.server, {
@@ -12,7 +12,7 @@ class TestRootCtrl {
12
12
  }
13
13
 
14
14
  export function testModule(options: PlatformTestingSdkOpts) {
15
- let request: SuperTest.SuperTest<SuperTest.Test>;
15
+ let request: SuperTest.Agent;
16
16
 
17
17
  beforeAll(
18
18
  PlatformTest.bootstrap(options.server, {
@@ -75,7 +75,7 @@ export class TestMulterController {
75
75
  }
76
76
 
77
77
  export function testMulter(options: PlatformTestingSdkOpts) {
78
- let request: SuperTest.SuperTest<SuperTest.Test>;
78
+ let request: SuperTest.Agent;
79
79
 
80
80
  const buffer = Buffer.from("test content");
81
81
 
@@ -49,7 +49,7 @@ class TestPathParamsCtrl {
49
49
  }
50
50
 
51
51
  export function testPathParams(options: PlatformTestingSdkOpts) {
52
- let request: SuperTest.SuperTest<SuperTest.Test>;
52
+ let request: SuperTest.Agent;
53
53
 
54
54
  beforeAll(
55
55
  PlatformTest.bootstrap(options.server, {
@@ -79,7 +79,7 @@ class TestQueryParamsCtrl {
79
79
  }
80
80
 
81
81
  export function testQueryParams(options: PlatformTestingSdkOpts) {
82
- let request: SuperTest.SuperTest<SuperTest.Test>;
82
+ let request: SuperTest.Agent;
83
83
 
84
84
  beforeAll(
85
85
  PlatformTest.bootstrap(options.server, {
@@ -51,7 +51,7 @@ class RedirectCtrl {
51
51
  }
52
52
 
53
53
  export function testRedirect(options: PlatformTestingSdkOpts) {
54
- let request: SuperTest.SuperTest<SuperTest.Test>;
54
+ let request: SuperTest.Agent;
55
55
 
56
56
  beforeAll(
57
57
  PlatformTest.bootstrap(options.server, {
@@ -269,7 +269,7 @@ class TestResponseParamsCtrl {
269
269
  }
270
270
 
271
271
  export function testResponse(options: PlatformTestingSdkOpts) {
272
- let request: SuperTest.SuperTest<SuperTest.Test>;
272
+ let request: SuperTest.Agent;
273
273
 
274
274
  beforeAll(
275
275
  PlatformTest.bootstrap(options.server, {
@@ -33,7 +33,7 @@ class AnyResponseFilter implements ResponseFilterMethods {
33
33
  }
34
34
 
35
35
  export function testResponseFilter(options: PlatformTestingSdkOpts) {
36
- let request: SuperTest.SuperTest<SuperTest.Test>;
36
+ let request: SuperTest.Agent;
37
37
 
38
38
  beforeAll(
39
39
  PlatformTest.bootstrap(options.server, {
@@ -29,7 +29,7 @@ export class TestRoutingController {
29
29
  }
30
30
 
31
31
  export function testRouting(options: PlatformTestingSdkOpts) {
32
- let request: SuperTest.SuperTest<SuperTest.Test>;
32
+ let request: SuperTest.Agent;
33
33
 
34
34
  beforeAll(
35
35
  PlatformTest.bootstrap(options.server, {
@@ -47,7 +47,7 @@ export class ScopeRequestCtrl {
47
47
  }
48
48
 
49
49
  export function testScopeRequest(options: PlatformTestingSdkOpts) {
50
- let request: SuperTest.SuperTest<SuperTest.Test>;
50
+ let request: SuperTest.Agent;
51
51
 
52
52
  beforeAll(
53
53
  PlatformTest.bootstrap(options.server, {
@@ -64,7 +64,7 @@ export class SessionCtrl {
64
64
  }
65
65
 
66
66
  export function testSession(options: PlatformTestingSdkOpts) {
67
- let request: SuperTest.SuperTest<SuperTest.Test>;
67
+ let request: SuperTest.Agent;
68
68
  beforeAll(
69
69
  PlatformTest.bootstrap(options.server, {
70
70
  ...options,
@@ -16,7 +16,7 @@ class CustomStaticsCtrl {
16
16
  }
17
17
 
18
18
  export function testStatics(options: PlatformTestingSdkOpts) {
19
- let request: SuperTest.SuperTest<SuperTest.Test>;
19
+ let request: SuperTest.Agent;
20
20
  beforeEach(
21
21
  PlatformTest.bootstrap(options.server, {
22
22
  ...options,
@@ -32,7 +32,7 @@ class ViewCtrl {
32
32
  }
33
33
 
34
34
  export function testView(options: PlatformTestingSdkOpts) {
35
- let request: SuperTest.SuperTest<SuperTest.Test>;
35
+ let request: SuperTest.Agent;
36
36
 
37
37
  beforeAll(
38
38
  PlatformTest.bootstrap(options.server, {