Skip to content

Commit 42cff67

Browse files
Merge pull request #540 from santoshshinde2012/dev
upgrade npm modules
2 parents 97c4e23 + 5f84794 commit 42cff67

File tree

3 files changed

+86
-85
lines changed

3 files changed

+86
-85
lines changed

package-lock.json

Lines changed: 60 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
"devDependencies": {
3636
"@types/cors": "^2.8.17",
3737
"@types/jest": "^29.5.11",
38-
"@types/supertest": "^2.0.16",
38+
"@types/supertest": "^6.0.2",
3939
"@types/swagger-ui-express": "^4.1.6",
40-
"@typescript-eslint/eslint-plugin": "^6.16.0",
41-
"@typescript-eslint/parser": "^6.16.0",
40+
"@typescript-eslint/eslint-plugin": "^6.18.0",
41+
"@typescript-eslint/parser": "^6.18.0",
4242
"eslint": "^8.56.0",
4343
"eslint-config-airbnb": "^19.0.4",
44-
"eslint-config-prettier": "^8.10.0",
44+
"eslint-config-prettier": "^9.1.0",
4545
"eslint-plugin-import": "^2.29.1",
4646
"eslint-plugin-prettier": "^5.1.2",
4747
"husky": "^8.0.3",

test-report.xml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<testExecutions version="1">
33
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/dummy.spec.ts">
4-
<testCase name="Dummy Test Cases Verify Jest is working" duration="4"/>
4+
<testCase name="Dummy Test Cases Verify Jest is working" duration="3"/>
5+
</file>
6+
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/integration-tests/app.integration.spec.ts">
7+
<testCase name="status integration tests can get default route success" duration="14"/>
8+
<testCase name="status integration tests can get default web route success" duration="2"/>
59
</file>
610
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/lib/crypto.spec.ts">
7-
<testCase name="Crypto Lib (Encryption/Decryption) Testing for text" duration="7"/>
8-
<testCase name="Crypto Lib (Encryption/Decryption) Testing for array" duration="2"/>
11+
<testCase name="Crypto Lib (Encryption/Decryption) Testing for text" duration="4"/>
12+
<testCase name="Crypto Lib (Encryption/Decryption) Testing for array" duration="1"/>
913
<testCase name="Crypto Lib (Encryption/Decryption) Testing for object" duration="2"/>
1014
</file>
1115
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/lib/logger.spec.ts">
12-
<testCase name="Logger Lib should create a new log directory if one doesn&apos;t already exist" duration="11"/>
13-
</file>
14-
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/integration-tests/app.integration.spec.ts">
15-
<testCase name="status integration tests can get default route success" duration="17"/>
16-
<testCase name="status integration tests can get default web route success" duration="2"/>
16+
<testCase name="Logger Lib should create a new log directory if one doesn&apos;t already exist" duration="7"/>
1717
</file>
1818
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/components/SystemStatusController.spec.ts">
19-
<testCase name="System Status Controller test getError method" duration="2"/>
19+
<testCase name="System Status Controller test getError method" duration="3"/>
2020
<testCase name="System Status Controller test getSystemInfo method" duration="2"/>
2121
<testCase name="System Status Controller test getSystemInfo method with updated env variables" duration="2"/>
22-
<testCase name="System Status Controller test getSystemInfo method with exception" duration="1"/>
23-
<testCase name="System Status Controller test getServerTime method" duration="0"/>
24-
<testCase name="System Status Controller test getServerTime method with exception" duration="1"/>
25-
<testCase name="System Status Controller test getResourceUsage method" duration="0"/>
22+
<testCase name="System Status Controller test getSystemInfo method with exception" duration="0"/>
23+
<testCase name="System Status Controller test getServerTime method" duration="1"/>
24+
<testCase name="System Status Controller test getServerTime method with exception" duration="0"/>
25+
<testCase name="System Status Controller test getResourceUsage method" duration="1"/>
2626
<testCase name="System Status Controller test getResourceUsage method with exception" duration="0"/>
27-
<testCase name="System Status Controller test getProcessInfo method" duration="1"/>
27+
<testCase name="System Status Controller test getProcessInfo method" duration="0"/>
2828
<testCase name="System Status Controller test getProcessInfo method with exception" duration="0"/>
2929
</file>
30-
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/integration-tests/status.integration.spec.ts">
31-
<testCase name="status integration tests can get server time" duration="15"/>
32-
<testCase name="status integration tests can get server system info" duration="4"/>
33-
<testCase name="status integration tests can get server system usage" duration="3"/>
34-
<testCase name="status integration tests can get server system process info" duration="2"/>
35-
<testCase name="status integration tests should get the error" duration="3"/>
36-
</file>
3730
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/unit-tests/middleware/error-handler.spec.ts">
38-
<testCase name="ErrorHandler middleware with 0 status code" duration="3"/>
31+
<testCase name="ErrorHandler middleware with 0 status code" duration="5"/>
3932
<testCase name="ErrorHandler middleware with 200 status code" duration="0"/>
4033
<testCase name="ErrorHandler middleware with 200 status code" duration="1"/>
4134
<testCase name="ErrorHandler middleware with 200 status code and updated env variables" duration="1"/>
4235
</file>
36+
<file path="/Users/santosh/Documents/workspace/personal/node-boilerplate/tests/integration-tests/status.integration.spec.ts">
37+
<testCase name="status integration tests can get server time" duration="14"/>
38+
<testCase name="status integration tests can get server system info" duration="4"/>
39+
<testCase name="status integration tests can get server system usage" duration="2"/>
40+
<testCase name="status integration tests can get server system process info" duration="1"/>
41+
<testCase name="status integration tests should get the error" duration="4"/>
42+
</file>
4343
</testExecutions>

0 commit comments

Comments
 (0)