Skip to content

Commit

Permalink
update banner
Browse files Browse the repository at this point in the history
  • Loading branch information
santoshshinde2012 committed Mar 14, 2024
1 parent 4ede42f commit cf24bd7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Skeleton for Node.js applications written in TypeScript with Sequelize ORM

![Introductions](https://i.ibb.co/3d1rL0n/nodejs-1.png)
![Introductions](https://i.ibb.co/VHTZKB6/introductions.png)

## Core NPM Module

Expand Down
54 changes: 27 additions & 27 deletions test-report.xml
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<testExecutions version="1">
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/middleware/error-handler.spec.ts">
<testCase name="ErrorHandler middleware with 0 status code" duration="6"/>
<testCase name="ErrorHandler middleware with 0 status code" duration="5"/>
<testCase name="ErrorHandler middleware with 200 status code" duration="1"/>
<testCase name="ErrorHandler middleware with 200 status code" duration="0"/>
<testCase name="ErrorHandler middleware with 200 status code" duration="0"/>
<testCase name="ErrorHandler middleware with 200 status code and updated env variables" duration="0"/>
<testCase name="ErrorHandler middleware with 200 status code and updated env variables" duration="1"/>
</file>
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/lib/logger.spec.ts">
<testCase name="Logger Lib should create a new log directory if one doesn&apos;t already exist" duration="8"/>
</file>
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/components/system-status/SystemStatusController.spec.ts">
<testCase name="System Status Controller test getError method" duration="3"/>
<testCase name="System Status Controller test getSystemInfo method" duration="4"/>
<testCase name="System Status Controller test getSystemInfo method" duration="2"/>
<testCase name="System Status Controller test getServerTime method" duration="0"/>
<testCase name="System Status Controller test getResourceUsage method" duration="1"/>
<testCase name="System Status Controller test getProcessInfo method" duration="0"/>
</file>
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/components/enquiry/EnquiryController.spec.ts">
<testCase name="Enquiry Controller should register routes and return router" duration="3"/>
<testCase name="Enquiry Controller should get all enquiries" duration="1"/>
<testCase name="Enquiry Controller should handle errors to get all enquiries" duration="0"/>
<testCase name="Enquiry Controller should get details of a specific enquiry" duration="1"/>
<testCase name="Enquiry Controller should handle errors to get all enquiries" duration="0"/>
<testCase name="Enquiry Controller should create enquiry" duration="1"/>
<testCase name="Enquiry Controller should throw BAD_REQUEST error if name and country are not provided" duration="0"/>
<testCase name="Enquiry Controller should handle errors in create enquiry" duration="0"/>
<testCase name="Enquiry Controller should update enquiry" duration="1"/>
<testCase name="Enquiry Controller should handle errors in update enquiry" duration="0"/>
<testCase name="Enquiry Controller should delete enquiry" duration="1"/>
<testCase name="Enquiry Controller should handle errors in delete enquiry" duration="0"/>
</file>
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/components/enquiry/EnquiryService.spec.ts">
<testCase name="EnquiryService should return all enquiries" duration="4"/>
<testCase name="EnquiryService should throw error if failed to fetch enquiries" duration="6"/>
<testCase name="EnquiryService should return particular enquiry by id" duration="1"/>
<testCase name="EnquiryService should return all enquiries" duration="3"/>
<testCase name="EnquiryService should throw error if failed to fetch enquiries" duration="7"/>
<testCase name="EnquiryService should return particular enquiry by id" duration="0"/>
<testCase name="EnquiryService should throw error if failed to fetch empty enquiry by id" duration="2"/>
<testCase name="EnquiryService should throw error if failed to fetch enquiry by id" duration="0"/>
<testCase name="EnquiryService should update enquiry with valid input" duration="1"/>
<testCase name="EnquiryService should throw an error if it fails to update as it failed to find the enquiry by id" duration="0"/>
<testCase name="EnquiryService should throw an error if it fails to update" duration="1"/>
<testCase name="EnquiryService should create a new enquiry with valid input" duration="0"/>
<testCase name="EnquiryService should throw error if failed to create enquiry" duration="1"/>
<testCase name="EnquiryService should return true if enquiry is deleted successfully" duration="0"/>
<testCase name="EnquiryService should return false if no enquiry is deleted" duration="1"/>
<testCase name="EnquiryService should throw error if failed to delete enquiry" duration="0"/>
<testCase name="EnquiryService should throw error if failed to create enquiry" duration="0"/>
<testCase name="EnquiryService should return true if enquiry is deleted successfully" duration="1"/>
<testCase name="EnquiryService should return false if no enquiry is deleted" duration="0"/>
<testCase name="EnquiryService should throw error if failed to delete enquiry" duration="1"/>
</file>
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/unit-tests/components/enquiry/EnquiryController.spec.ts">
<testCase name="Enquiry Controller should register routes and return router" duration="2"/>
<testCase name="Enquiry Controller should get all enquiries" duration="0"/>
<testCase name="Enquiry Controller should handle errors to get all enquiries" duration="1"/>
<testCase name="Enquiry Controller should get details of a specific enquiry" duration="0"/>
<testCase name="Enquiry Controller should handle errors to get all enquiries" duration="1"/>
<testCase name="Enquiry Controller should create enquiry" duration="0"/>
<testCase name="Enquiry Controller should throw BAD_REQUEST error if name and country are not provided" duration="0"/>
<testCase name="Enquiry Controller should handle errors in create enquiry" duration="1"/>
<testCase name="Enquiry Controller should update enquiry" duration="0"/>
<testCase name="Enquiry Controller should handle errors in update enquiry" duration="1"/>
<testCase name="Enquiry Controller should delete enquiry" duration="0"/>
<testCase name="Enquiry Controller should handle errors in delete enquiry" duration="0"/>
</file>
<file path="/Users/santosh/Documents/workspace/boilerplates/node-ts-sequelize-pg-boilerplate/tests/integration-tests/app.integration.spec.ts">
<testCase name="status integration tests can get default route success" duration="15"/>
<testCase name="status integration tests can get default web route success" duration="3"/>
<testCase name="status integration tests can get default route success" duration="13"/>
<testCase name="status integration tests can get default web route success" duration="2"/>
</file>
</testExecutions>

0 comments on commit cf24bd7

Please sign in to comment.