@zerooneit/expressive-tea 1.2.2 → 1.2.4

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/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@zerooneit/expressive-tea",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "A REST API over Express and Typescript",
5
5
  "main": "classes/Boot.js",
6
6
  "scripts": {
7
- "doc": "rimraf docs && npm run publish:prepare && jsdoc -c jsdocs.json",
8
- "doc:json": "jsdoc -c jsdocs-json.json",
9
- "test": "npm run linter && jest --clearCache && jest --coverage --silent --ci --detectOpenHandles --forceExit --runInBand",
10
- "test:dev": "npm run linter && jest --detectOpenHandles --forceExit",
7
+ "test": "npm run linter && jest --clearCache && jest --coverage --ci --detectOpenHandles --forceExit --silent --runInBand",
8
+ "test:dev": "npm run linter && jest --clearCache && jest --detectOpenHandles --forceExit",
11
9
  "linter": "tslint -c tslint.json -p tsconfig.json",
12
- "clean:build": "gulp clean",
13
- "publish:prepare": "gulp clean build",
14
- "postpublish": "gulp clean",
10
+ "build:dev": "tsc --project tsconfig.json --watch",
11
+ "build": "tsc --project tsconfig.json",
12
+ "clean:build": "trash '**/*.js' '**/*.d.ts' '**/*.js.map' '**/*.d.ts.map' '!node_modules/**/*' '!docs/**/*' '!coverage/**/*' '!gulpfile.js' '!tasks/*.js' '!jest.config.js' '!tools/**/*'",
13
+ "publish:prepare": "npm run clean:build && npm run build",
14
+ "postpublish": "npm run clean:build",
15
15
  "prepublishOnly": "npm test && npm run publish:prepare"
16
16
  },
17
17
  "publishConfig": {
@@ -22,38 +22,38 @@
22
22
  ],
23
23
  "license": "Apache-2.0",
24
24
  "devDependencies": {
25
- "@expressive-tea/plugin": "^0.0.4",
25
+ "@expressive-tea/plugin": "0.0.4",
26
26
  "@types/bluebird": "3.5.36",
27
27
  "@types/express": "4.17.13",
28
- "@types/jest": "26.0.23",
29
- "@types/lodash": "4.14.170",
30
- "@types/ws": "^7.2.6",
31
- "gulp": "^3.9.1",
32
- "gulp-clean": "0.4.0",
33
- "gulp-typescript": "^2.12.2",
34
- "jest": "27.0.6",
28
+ "@types/jest": "27.5.2",
29
+ "@types/lodash": "4.14.182",
30
+ "@types/ws": "8.5.3",
31
+ "jest": "27.5.1",
35
32
  "jest-express": "^1.12.0",
36
- "jest-junit": "12.2.0",
33
+ "jest-junit": "13.2.0",
37
34
  "reflect-metadata": "0.1.13",
38
35
  "rimraf": "3.0.2",
39
- "supertest": "6.1.3",
36
+ "supertest": "7.0.0",
40
37
  "toast-jsdoc": "1.0.2",
41
- "ts-jest": "27.0.3",
42
- "ts-node": "10.0.0",
38
+ "trash-cli": "5.0.0",
39
+ "ts-jest": "27.1.5",
40
+ "ts-node": "10.8.0",
43
41
  "tslint": "6.1.3",
44
- "typescript": "4.3.5"
42
+ "typescript": "4.7.2"
45
43
  },
46
44
  "dependencies": {
47
45
  "bluebird": "3.7.2",
48
- "express": "4.17.1",
49
- "inversify": "5.1.1",
46
+ "express": "^4.19.2",
47
+ "express-http-proxy": "1.6.3",
48
+ "inversify": "6.0.1",
50
49
  "inversify-inject-decorators": "3.1.0",
51
50
  "lodash": "4.17.21",
52
- "ws": "7.5.5"
51
+ "tslib": "^2.6.2",
52
+ "ws": "8.7.0"
53
53
  },
54
54
  "repository": {
55
55
  "type": "git",
56
- "url": "git+https://github.com/Zero-OneiT/expresive-tea.git"
56
+ "url": "git+https://github.com/Expressive-Tea/expresive-tea.git"
57
57
  },
58
58
  "keywords": [
59
59
  "Typescript",
@@ -90,9 +90,5 @@
90
90
  "bugs": {
91
91
  "url": "https://github.com/Expressive-Tea/expresive-tea/issues"
92
92
  },
93
- "homepage": "https://github.com/Expressive-Tea/expresive-tea#readme",
94
- "jest": {
95
- "coverageDirectory": "./coverage/",
96
- "collectCoverage": true
97
- }
93
+ "homepage": "https://github.com/Expressive-Tea/expresive-tea#readme"
98
94
  }
@@ -0,0 +1,285 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites name="Expressive Tea Tests" tests="123" failures="0" errors="0" time="14.883">
3
+ <testsuite name="__test__/unit/helpers/server.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:42" time="1.234" tests="23">
4
+ <testcase classname="Server Helper › Extract Parameters-should return empty if target and args are undefined" name="Server Helper › Extract Parameters-should return empty if target and args are undefined" time="0.001">
5
+ </testcase>
6
+ <testcase classname="Server Helper › Extract Parameters-should return whole object if arguments are undefined" name="Server Helper › Extract Parameters-should return whole object if arguments are undefined" time="0.001">
7
+ </testcase>
8
+ <testcase classname="Server Helper › Extract Parameters-should return value of the selected parameter" name="Server Helper › Extract Parameters-should return value of the selected parameter" time="0">
9
+ </testcase>
10
+ <testcase classname="Server Helper › Extract Parameters-should return partial object from current target object" name="Server Helper › Extract Parameters-should return partial object from current target object" time="0.001">
11
+ </testcase>
12
+ <testcase classname="Server Helper › Map Arguments-should get the normal express arguments" name="Server Helper › Map Arguments-should get the normal express arguments" time="0.002">
13
+ </testcase>
14
+ <testcase classname="Server Helper › Map Arguments-should get normal express arguments if type does not exits" name="Server Helper › Map Arguments-should get normal express arguments if type does not exits" time="0">
15
+ </testcase>
16
+ <testcase classname="Server Helper › Map Arguments-should get the request object" name="Server Helper › Map Arguments-should get the request object" time="0">
17
+ </testcase>
18
+ <testcase classname="Server Helper › Map Arguments-should get the response object" name="Server Helper › Map Arguments-should get the response object" time="0.001">
19
+ </testcase>
20
+ <testcase classname="Server Helper › Map Arguments-should get the next object" name="Server Helper › Map Arguments-should get the next object" time="0">
21
+ </testcase>
22
+ <testcase classname="Server Helper › Map Arguments-should get one parameter from query object" name="Server Helper › Map Arguments-should get one parameter from query object" time="0.001">
23
+ </testcase>
24
+ <testcase classname="Server Helper › Map Arguments-should get multiple parameters from query object" name="Server Helper › Map Arguments-should get multiple parameters from query object" time="0.001">
25
+ </testcase>
26
+ <testcase classname="Server Helper › Map Arguments-should get all query object" name="Server Helper › Map Arguments-should get all query object" time="0">
27
+ </testcase>
28
+ <testcase classname="Server Helper › Map Arguments-should get one parameter from body object" name="Server Helper › Map Arguments-should get one parameter from body object" time="0.002">
29
+ </testcase>
30
+ <testcase classname="Server Helper › Map Arguments-should get multiple parameters from body object" name="Server Helper › Map Arguments-should get multiple parameters from body object" time="0.001">
31
+ </testcase>
32
+ <testcase classname="Server Helper › Map Arguments-should get all body object" name="Server Helper › Map Arguments-should get all body object" time="0">
33
+ </testcase>
34
+ <testcase classname="Server Helper › Map Arguments-should get one parameter from params object" name="Server Helper › Map Arguments-should get one parameter from params object" time="0.001">
35
+ </testcase>
36
+ <testcase classname="Server Helper › Map Arguments-should get multiple parameters from params object" name="Server Helper › Map Arguments-should get multiple parameters from params object" time="0">
37
+ </testcase>
38
+ <testcase classname="Server Helper › Map Arguments-should get all query params" name="Server Helper › Map Arguments-should get all query params" time="0.001">
39
+ </testcase>
40
+ <testcase classname="Server Helper › Auto Response-should response" name="Server Helper › Auto Response-should response" time="0.001">
41
+ </testcase>
42
+ <testcase classname="Server Helper › Auto Response-should response" name="Server Helper › Auto Response-should response" time="0.001">
43
+ </testcase>
44
+ <testcase classname="Server Helper › Auto Response-should response" name="Server Helper › Auto Response-should response" time="0">
45
+ </testcase>
46
+ <testcase classname="Server Helper › Auto Response-should response" name="Server Helper › Auto Response-should response" time="0.001">
47
+ </testcase>
48
+ <testcase classname="Server Helper › Auto Response-should response" name="Server Helper › Auto Response-should response" time="0.001">
49
+ </testcase>
50
+ </testsuite>
51
+ <testsuite name="__test__/unit/decorators/router.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:44" time="0.179" tests="13">
52
+ <testcase classname="Route Decorator-should instanciate correctly" name="Route Decorator-should instanciate correctly" time="0.001">
53
+ </testcase>
54
+ <testcase classname="Route Decorator-should register the module on express route correctly" name="Route Decorator-should register the module on express route correctly" time="0.001">
55
+ </testcase>
56
+ <testcase classname="Route Decorator-should assign handlers" name="Route Decorator-should assign handlers" time="0.001">
57
+ </testcase>
58
+ <testcase classname="Route Decorator-should default route" name="Route Decorator-should default route" time="0.002">
59
+ </testcase>
60
+ <testcase classname="Middleware Decorator-should call middleware root correctly" name="Middleware Decorator-should call middleware root correctly" time="0.001">
61
+ </testcase>
62
+ <testcase classname="Middleware Decorator-should register endpoint middleware correctly" name="Middleware Decorator-should register endpoint middleware correctly" time="0">
63
+ </testcase>
64
+ <testcase classname="Get Decorator-should call correctly the decorator" name="Get Decorator-should call correctly the decorator" time="0.001">
65
+ </testcase>
66
+ <testcase classname="Post Decorator-should call correctly the decorator" name="Post Decorator-should call correctly the decorator" time="0.001">
67
+ </testcase>
68
+ <testcase classname="Put Decorator-should call correctly the decorator" name="Put Decorator-should call correctly the decorator" time="0.001">
69
+ </testcase>
70
+ <testcase classname="Patch Decorator-should call correctly the decorator" name="Patch Decorator-should call correctly the decorator" time="0">
71
+ </testcase>
72
+ <testcase classname="Param Decorator-should call correctly the decorator" name="Param Decorator-should call correctly the decorator" time="0.001">
73
+ </testcase>
74
+ <testcase classname="Delete Decorator-should call correctly the decorator" name="Delete Decorator-should call correctly the decorator" time="0.001">
75
+ </testcase>
76
+ <testcase classname="View Decorator-should call correctly the decorator" name="View Decorator-should call correctly the decorator" time="0">
77
+ </testcase>
78
+ </testsuite>
79
+ <testsuite name="__test__/unit/decorators/server.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:44" time="0.62" tests="15">
80
+ <testcase classname="ServerSettings Decorator-should modify server settings" name="ServerSettings Decorator-should modify server settings" time="0.001">
81
+ </testcase>
82
+ <testcase classname="ServerSettings Decorator-should modify server settings as default options" name="ServerSettings Decorator-should modify server settings as default options" time="0">
83
+ </testcase>
84
+ <testcase classname="Pour Decorator-should attach plug to respective level" name="Pour Decorator-should attach plug to respective level" time="0">
85
+ </testcase>
86
+ <testcase classname="Pour Decorator-should attach plug to respective level with arguments" name="Pour Decorator-should attach plug to respective level with arguments" time="0.002">
87
+ </testcase>
88
+ <testcase classname="Setting Decorator-should get setting test on instances" name="Setting Decorator-should get setting test on instances" time="0">
89
+ </testcase>
90
+ <testcase classname="RegisterModule Decorator-should register a module" name="RegisterModule Decorator-should register a module" time="0.001">
91
+ </testcase>
92
+ <testcase classname="RegisterModule Decorator-should fail if use different method to register a module" name="RegisterModule Decorator-should fail if use different method to register a module" time="0.015">
93
+ </testcase>
94
+ <testcase classname="Static Decorator-should register a static server" name="Static Decorator-should register a static server" time="0">
95
+ </testcase>
96
+ <testcase classname="Static Decorator-should register a static server with virtual" name="Static Decorator-should register a static server with virtual" time="0.001">
97
+ </testcase>
98
+ <testcase classname="Static Decorator-should fail if not root folder is present" name="Static Decorator-should fail if not root folder is present" time="0.001">
99
+ </testcase>
100
+ <testcase classname="Express Directive Decorator-should allow to modify etag" name="Express Directive Decorator-should allow to modify etag" time="0">
101
+ </testcase>
102
+ <testcase classname="Express Directive Decorator-should fail if directive is named as invalid " name="Express Directive Decorator-should fail if directive is named as invalid " time="0.001">
103
+ </testcase>
104
+ <testcase classname="Express Directive Decorator-should fail if directive is not named " name="Express Directive Decorator-should fail if directive is not named " time="0">
105
+ </testcase>
106
+ <testcase classname="Modules Decorator-should register a module" name="Modules Decorator-should register a module" time="0">
107
+ </testcase>
108
+ <testcase classname="Modules Decorator-should fail if use different method to register a module" name="Modules Decorator-should fail if use different method to register a module" time="0.001">
109
+ </testcase>
110
+ </testsuite>
111
+ <testsuite name="__test__/unit/classes/boot-secure.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:44" time="2.554" tests="3">
112
+ <testcase classname="Boot Class Secure Server-should create instance correctly" name="Boot Class Secure Server-should create instance correctly" time="0.001">
113
+ </testcase>
114
+ <testcase classname="Boot Class Secure Server-should start server as default" name="Boot Class Secure Server-should start server as default" time="0.021">
115
+ </testcase>
116
+ <testcase classname="Boot Class Secure Server-should start an application" name="Boot Class Secure Server-should start an application" time="0.003">
117
+ </testcase>
118
+ </testsuite>
119
+ <testsuite name="__test__/integrations/server.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:47" time="2.133" tests="11">
120
+ <testcase classname="Webserver integration-should response string correctly" name="Webserver integration-should response string correctly" time="0.02">
121
+ </testcase>
122
+ <testcase classname="Webserver integration-should response number correctly" name="Webserver integration-should response number correctly" time="0.004">
123
+ </testcase>
124
+ <testcase classname="Webserver integration-should go next as result of 404" name="Webserver integration-should go next as result of 404" time="0.007">
125
+ </testcase>
126
+ <testcase classname="Webserver integration-should go next middleware and fail" name="Webserver integration-should go next middleware and fail" time="0.013">
127
+ </testcase>
128
+ <testcase classname="Webserver integration-should return a generic error" name="Webserver integration-should return a generic error" time="0.007">
129
+ </testcase>
130
+ <testcase classname="Webserver integration-should return a bad request error" name="Webserver integration-should return a bad request error" time="0.006">
131
+ </testcase>
132
+ <testcase classname="Webserver integration-should test request and response annotations" name="Webserver integration-should test request and response annotations" time="0.007">
133
+ </testcase>
134
+ <testcase classname="Webserver integration-should test params annotations" name="Webserver integration-should test params annotations" time="0.005">
135
+ </testcase>
136
+ <testcase classname="Webserver integration-should test query annotations" name="Webserver integration-should test query annotations" time="0.005">
137
+ </testcase>
138
+ <testcase classname="Webserver integration-should test body annotations" name="Webserver integration-should test body annotations" time="0.006">
139
+ </testcase>
140
+ <testcase classname="Webserver integration-should test returning number correctly" name="Webserver integration-should test returning number correctly" time="0.004">
141
+ </testcase>
142
+ </testsuite>
143
+ <testsuite name="__test__/unit/services/websocket-service.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:49" time="0.078" tests="8">
144
+ <testcase classname="Websocket Service-should initialize WebsocketService" name="Websocket Service-should initialize WebsocketService" time="0.001">
145
+ </testcase>
146
+ <testcase classname="Websocket Service-should create an instance WebsocketService" name="Websocket Service-should create an instance WebsocketService" time="0.001">
147
+ </testcase>
148
+ <testcase classname="Websocket Service-should be the same instance of WebsocketService" name="Websocket Service-should be the same instance of WebsocketService" time="0">
149
+ </testcase>
150
+ <testcase classname="Websocket Service-should create WebsocketService singleton" name="Websocket Service-should create WebsocketService singleton" time="0.001">
151
+ </testcase>
152
+ <testcase classname="Websocket Service-should be the same instance of WebsocketService" name="Websocket Service-should be the same instance of WebsocketService" time="0">
153
+ </testcase>
154
+ <testcase classname="Websocket Service-should setup http server correctly" name="Websocket Service-should setup http server correctly" time="0.001">
155
+ </testcase>
156
+ <testcase classname="Websocket Service-should get websocket according to the server setting" name="Websocket Service-should get websocket according to the server setting" time="0.001">
157
+ </testcase>
158
+ <testcase classname="Websocket Service-should reinitialize multiple times with same result" name="Websocket Service-should reinitialize multiple times with same result" time="0">
159
+ </testcase>
160
+ </testsuite>
161
+ <testsuite name="__test__/unit/classes/boot-extend.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:49" time="0.081" tests="5">
162
+ <testcase classname="Boot Class Extends-should register a new static" name="Boot Class Extends-should register a new static" time="0.003">
163
+ </testcase>
164
+ <testcase classname="Boot Class Extends-should register a new static with virtual" name="Boot Class Extends-should register a new static with virtual" time="0.001">
165
+ </testcase>
166
+ <testcase classname="Boot Class Extends-should register a new static with virtual and change options" name="Boot Class Extends-should register a new static with virtual and change options" time="0.001">
167
+ </testcase>
168
+ <testcase classname="Boot Class Extends-should set a new directive setting value" name="Boot Class Extends-should set a new directive setting value" time="0.001">
169
+ </testcase>
170
+ <testcase classname="Boot Class Extends-should set a new directive setting value and pass multiple arguments" name="Boot Class Extends-should set a new directive setting value and pass multiple arguments" time="0.001">
171
+ </testcase>
172
+ </testsuite>
173
+ <testsuite name="__test__/integrations/teapot.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:49" time="7.062" tests="7">
174
+ <testcase classname="Teapot/Teacup integration-should initialize Teapot Service" name="Teapot/Teacup integration-should initialize Teapot Service" time="0.024">
175
+ </testcase>
176
+ <testcase classname="Teapot/Teacup integration-should get first teacup microservice group" name="Teapot/Teacup integration-should get first teacup microservice group" time="0.011">
177
+ </testcase>
178
+ <testcase classname="Teapot/Teacup integration-should get second teacup microservice group" name="Teapot/Teacup integration-should get second teacup microservice group" time="0.01">
179
+ </testcase>
180
+ <testcase classname="Teapot/Teacup integration-should get teacup post response from first microservice group" name="Teapot/Teacup integration-should get teacup post response from first microservice group" time="0.007">
181
+ </testcase>
182
+ <testcase classname="Teapot/Teacup integration-should get teacup post response from first microservice group" name="Teapot/Teacup integration-should get teacup post response from first microservice group" time="0.007">
183
+ </testcase>
184
+ <testcase classname="Teapot/Teacup integration-should get 404 when call a unverified teacup" name="Teapot/Teacup integration-should get 404 when call a unverified teacup" time="0.004">
185
+ </testcase>
186
+ <testcase classname="Teapot/Teacup integration-should remove a teacup from teapot gateway" name="Teapot/Teacup integration-should remove a teacup from teapot gateway" time="1.519">
187
+ </testcase>
188
+ </testsuite>
189
+ <testsuite name="__test__/unit/classes/boot.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:56" time="0.104" tests="5">
190
+ <testcase classname="Boot Class-should start server as default" name="Boot Class-should start server as default" time="0.003">
191
+ </testcase>
192
+ <testcase classname="Boot Class-should create instance correctly" name="Boot Class-should create instance correctly" time="0">
193
+ </testcase>
194
+ <testcase classname="Boot Class-should start an application" name="Boot Class-should start an application" time="0.002">
195
+ </testcase>
196
+ <testcase classname="Boot Class-should not fail if soft plugin fails" name="Boot Class-should not fail if soft plugin fails" time="0.002">
197
+ </testcase>
198
+ <testcase classname="Boot Class-should fail if hard plugin fails" name="Boot Class-should fail if hard plugin fails" time="0.001">
199
+ </testcase>
200
+ </testsuite>
201
+ <testsuite name="__test__/unit/classes/settings.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:56" time="0.057" tests="12">
202
+ <testcase classname="Settings Class-should be existed" name="Settings Class-should be existed" time="0">
203
+ </testcase>
204
+ <testcase classname="Settings Class-should create a new instance with undefined and return value correctly" name="Settings Class-should create a new instance with undefined and return value correctly" time="0.001">
205
+ </testcase>
206
+ <testcase classname="Settings Class-should create a new instance with {&quot;port&quot;: 8080} and return value correctly" name="Settings Class-should create a new instance with {&quot;port&quot;: 8080} and return value correctly" time="0">
207
+ </testcase>
208
+ <testcase classname="Settings Class-should create a new instance with {&quot;a&quot;: &quot;b&quot;, &quot;port&quot;: 8080} and return value correctly" name="Settings Class-should create a new instance with {&quot;a&quot;: &quot;b&quot;, &quot;port&quot;: 8080} and return value correctly" time="0.001">
209
+ </testcase>
210
+ <testcase classname="Settings Class-should create a new instance with {&quot;c&quot;: &quot;d&quot;} and return value correctly" name="Settings Class-should create a new instance with {&quot;c&quot;: &quot;d&quot;} and return value correctly" time="0">
211
+ </testcase>
212
+ <testcase classname="Settings Class-should merge undefined with the existed values" name="Settings Class-should merge undefined with the existed values" time="0">
213
+ </testcase>
214
+ <testcase classname="Settings Class-should merge {&quot;port&quot;: 8080} with the existed values" name="Settings Class-should merge {&quot;port&quot;: 8080} with the existed values" time="0.001">
215
+ </testcase>
216
+ <testcase classname="Settings Class-should merge {&quot;a&quot;: &quot;b&quot;, &quot;port&quot;: 8080} with the existed values" name="Settings Class-should merge {&quot;a&quot;: &quot;b&quot;, &quot;port&quot;: 8080} with the existed values" time="0">
217
+ </testcase>
218
+ <testcase classname="Settings Class-should merge {&quot;c&quot;: &quot;d&quot;} with the existed values" name="Settings Class-should merge {&quot;c&quot;: &quot;d&quot;} with the existed values" time="0.003">
219
+ </testcase>
220
+ <testcase classname="Settings Class-should get the same instance as singleton" name="Settings Class-should get the same instance as singleton" time="0">
221
+ </testcase>
222
+ <testcase classname="Settings Class-should get the same instance as singleton" name="Settings Class-should get the same instance as singleton" time="0.001">
223
+ </testcase>
224
+ <testcase classname="Settings Class-should be able to assign and get new setting value" name="Settings Class-should be able to assign and get new setting value" time="0">
225
+ </testcase>
226
+ </testsuite>
227
+ <testsuite name="__test__/unit/classes/boot-error.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:57" time="0.144" tests="2">
228
+ <testcase classname="Boot Soft Errors Class-should start server as default" name="Boot Soft Errors Class-should start server as default" time="0.003">
229
+ </testcase>
230
+ <testcase classname="Boot Hard Errors Class-should fail server as plugin is required" name="Boot Hard Errors Class-should fail server as plugin is required" time="0">
231
+ </testcase>
232
+ </testsuite>
233
+ <testsuite name="__test__/unit/exceptions/request-exception.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:57" time="0.044" tests="6">
234
+ <testcase classname="Bootloader Exceptions-should instance required exception" name="Bootloader Exceptions-should instance required exception" time="0">
235
+ </testcase>
236
+ <testcase classname="Bootloader Exceptions-should instance required exception" name="Bootloader Exceptions-should instance required exception" time="0.001">
237
+ </testcase>
238
+ <testcase classname="Bootloader Exceptions-should instance required exception" name="Bootloader Exceptions-should instance required exception" time="0">
239
+ </testcase>
240
+ <testcase classname="Bootloader Exceptions-should instance required exception with default message" name="Bootloader Exceptions-should instance required exception with default message" time="0">
241
+ </testcase>
242
+ <testcase classname="Bootloader Exceptions-should instance required exception" name="Bootloader Exceptions-should instance required exception" time="0">
243
+ </testcase>
244
+ <testcase classname="Bootloader Exceptions-should instance required exception with default message" name="Bootloader Exceptions-should instance required exception with default message" time="0.001">
245
+ </testcase>
246
+ </testsuite>
247
+ <testsuite name="__test__/integrations/websocket.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:57" time="0.08" tests="3">
248
+ <testcase classname="Websocket integration-should initialize websockets" name="Websocket integration-should initialize websockets" time="0.003">
249
+ </testcase>
250
+ <testcase classname="Websocket integration-should initialize websockets as secure protocol" name="Websocket integration-should initialize websockets as secure protocol" time="0.002">
251
+ </testcase>
252
+ <testcase classname="Websocket integration-should detach Websocket from http server" name="Websocket integration-should detach Websocket from http server" time="0.002">
253
+ </testcase>
254
+ </testsuite>
255
+ <testsuite name="__test__/unit/services/dependency-injection.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:57" time="0.095" tests="3">
256
+ <testcase classname="Dependency Injection Service-should setup provider to dependency injection container" name="Dependency Injection Service-should setup provider to dependency injection container" time="0.002">
257
+ </testcase>
258
+ <testcase classname="Dependency Injection Service-should setup provider to dependency injection container with name" name="Dependency Injection Service-should setup provider to dependency injection container with name" time="0.001">
259
+ </testcase>
260
+ <testcase classname="Dependency Injection Service-should ignore provider if is already on the container" name="Dependency Injection Service-should ignore provider if is already on the container" time="0">
261
+ </testcase>
262
+ </testsuite>
263
+ <testsuite name="__test__/unit/decorators/module.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:57" time="0.062" tests="2">
264
+ <testcase classname="Module Decorator-should instanciate correctly" name="Module Decorator-should instanciate correctly" time="0.001">
265
+ </testcase>
266
+ <testcase classname="Module Decorator-should register the module on express route correctly" name="Module Decorator-should register the module on express route correctly" time="0.001">
267
+ </testcase>
268
+ </testsuite>
269
+ <testsuite name="__test__/unit/classes/loadbalancer.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:57" time="0.074" tests="2">
270
+ <testcase classname="Load Balancer-should create load balancer instance" name="Load Balancer-should create load balancer instance" time="0.001">
271
+ </testcase>
272
+ <testcase classname="Load Balancer-should resolve when bins is new" name="Load Balancer-should resolve when bins is new" time="0">
273
+ </testcase>
274
+ </testsuite>
275
+ <testsuite name="__test__/unit/exceptions/bootloader-exceptions.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:57" time="0.042" tests="2">
276
+ <testcase classname="Bootloader Exceptions-should instance required exception" name="Bootloader Exceptions-should instance required exception" time="0.001">
277
+ </testcase>
278
+ <testcase classname="Bootloader Exceptions-should instance soft required exception" name="Bootloader Exceptions-should instance soft required exception" time="0">
279
+ </testcase>
280
+ </testsuite>
281
+ <testsuite name="__test__/unit/decorators/annotations.spec.ts" errors="0" failures="0" skipped="0" timestamp="2024-04-25T04:28:57" time="0.039" tests="1">
282
+ <testcase classname="Annotations-Get Request" name="Annotations-Get Request" time="0">
283
+ </testcase>
284
+ </testsuite>
285
+ </testsuites>
@@ -6,7 +6,7 @@ const inversify_inject_decorators_1 = require("inversify-inject-decorators");
6
6
  const rootContainer = new inversify_1.Container({
7
7
  autoBindInjectable: true
8
8
  });
9
- const lazyDecorators = inversify_inject_decorators_1.default(rootContainer);
9
+ const lazyDecorators = (0, inversify_inject_decorators_1.default)(rootContainer);
10
10
  /**
11
11
  * @module Services
12
12
  */
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import WebSocket from 'ws';
3
4
  import * as http from 'http';
4
5
  import * as https from 'https';
@@ -0,0 +1,12 @@
1
+ 5 ESLint rules behave differently from their TSLint counterparts:
2
+ * no-invalid-this:
3
+ - Functions in methods will no longer be ignored.
4
+ * @typescript-eslint/no-unused-expressions:
5
+ - The TSLint optional config "allow-new" is the default ESLint behavior and will no longer be ignored.
6
+ * prefer-arrow/prefer-arrow-functions:
7
+ - ESLint (eslint-plugin-prefer-arrow plugin) does not support allowing named functions defined with the function keyword.
8
+ * eqeqeq:
9
+ - Option "smart" allows for comparing two literal values, evaluating the value of typeof and null comparisons.
10
+ * no-underscore-dangle:
11
+ - Leading and trailing underscores (_) on identifiers will now be ignored.
12
+