Skip to content

Commit

Permalink
upgrade npm modules
Browse files Browse the repository at this point in the history
  • Loading branch information
santoshshinde2012 committed May 9, 2024
1 parent df4aed1 commit cb9a895
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "Apache-2.0",
"dependencies": {
"@types/express": "^4.17.21",
"@types/node": "^20.12.10",
"@types/node": "^20.12.11",
"@types/swagger-ui-express": "^4.1.6",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
Expand Down
36 changes: 18 additions & 18 deletions test-report.xml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<testExecutions version="1">
<file path="/Users/santosh/Documents/workspace/github/node-boilerplate/tests/unit-tests/middleware/error-handler.spec.ts">
<testCase name="addErrorHandler should send encrypted error response" duration="8"/>
<testCase name="addErrorHandler should call next if no error" duration="7"/>
<testCase name="addErrorHandler should handle error without status" duration="4"/>
</file>
<file path="/Users/santosh/Documents/workspace/github/node-boilerplate/tests/unit-tests/utils/index.spec.ts">
<testCase name="getEncryptedText should return input if encryption is not enabled" duration="2"/>
<testCase name="getEncryptedText should return input if secret key is not provided" duration="0"/>
<testCase name="getEncryptedText should return encrypted input if encryption is enabled and secret key is provided" duration="0"/>
<testCase name="getEncryptedText should return encrypted string if input is already a string" duration="1"/>
</file>
<file path="/Users/santosh/Documents/workspace/github/node-boilerplate/tests/unit-tests/lib/crypto.spec.ts">
<testCase name="Crypto Lib (Encryption/Decryption) Testing for text" duration="5"/>
<testCase name="Crypto Lib (Encryption/Decryption) Testing for array" duration="2"/>
<testCase name="Crypto Lib (Encryption/Decryption) Testing for object" duration="1"/>
</file>
<file path="/Users/santosh/Documents/workspace/github/node-boilerplate/tests/unit-tests/utils/index.spec.ts">
<testCase name="getEncryptedText should return input if encryption is not enabled" duration="2"/>
<testCase name="getEncryptedText should return input if secret key is not provided" duration="1"/>
<testCase name="getEncryptedText should return encrypted input if encryption is enabled and secret key is provided" duration="0"/>
<testCase name="getEncryptedText should return encrypted string if input is already a string" duration="0"/>
</file>
<file path="/Users/santosh/Documents/workspace/github/node-boilerplate/tests/unit-tests/components/SystemStatusController.spec.ts">
<testCase name="System Status Controller test getError method" duration="2"/>
<testCase name="System Status Controller test getSystemInfo method" duration="22"/>
<testCase name="System Status Controller test getSystemInfo method with updated env variables" duration="2"/>
<testCase name="System Status Controller test getSystemInfo method with exception" duration="0"/>
<testCase name="System Status Controller test getSystemInfo method" duration="5"/>
<testCase name="System Status Controller test getSystemInfo method with updated env variables" duration="4"/>
<testCase name="System Status Controller test getSystemInfo method with exception" duration="1"/>
<testCase name="System Status Controller test getServerTime method" duration="1"/>
<testCase name="System Status Controller test getServerTime method with exception" duration="0"/>
<testCase name="System Status Controller test getResourceUsage method" duration="1"/>
<testCase name="System Status Controller test getResourceUsage method with exception" duration="0"/>
<testCase name="System Status Controller test getProcessInfo method" duration="0"/>
<testCase name="System Status Controller test getProcessInfo method with exception" duration="0"/>
<testCase name="System Status Controller test getProcessInfo method with exception" duration="1"/>
</file>
<file path="/Users/santosh/Documents/workspace/github/node-boilerplate/tests/unit-tests/middleware/error-handler.spec.ts">
<testCase name="addErrorHandler should send encrypted error response" duration="3"/>
<testCase name="addErrorHandler should call next if no error" duration="0"/>
<testCase name="addErrorHandler should handle error without status" duration="0"/>
</file>
<file path="/Users/santosh/Documents/workspace/github/node-boilerplate/tests/integration-tests/app.integration.spec.ts">
<testCase name="status integration tests can get default route success" duration="14"/>
<testCase name="status integration tests can get default route success" duration="16"/>
<testCase name="status integration tests can get default web route success" duration="2"/>
</file>
<file path="/Users/santosh/Documents/workspace/github/node-boilerplate/tests/integration-tests/status.integration.spec.ts">
<testCase name="status integration tests can get server time" duration="15"/>
<testCase name="status integration tests can get server time" duration="17"/>
<testCase name="status integration tests can get server system info" duration="4"/>
<testCase name="status integration tests can get server system usage" duration="2"/>
<testCase name="status integration tests can get server system process info" duration="2"/>
<testCase name="status integration tests should get the error" duration="6"/>
<testCase name="status integration tests should get the error" duration="7"/>
</file>
</testExecutions>

0 comments on commit cb9a895

Please sign in to comment.