Giter VIP home page Giter VIP logo

nodejs-template's People

Contributors

khriztianmoreno avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

syhwh

nodejs-template's Issues

Crear test unitarios para los servicios.

Agregar codigo de funcional que sirva como ejemplo para crear test unitarios de los servicios de los módulos.

Ejemplo:

describe('getAllUsers', () => {
    test('should return an array of users', () => {
      // Act
      const users = getAllUsers();
      // Assert
      expect(users).toBeInstanceOf(Array);
      expect(users).toEqual(expect.arrayContaining([
        expect.objectContaining({
          _id: expect.any(String),
          firstName: expect.any(String),
          lastName: expect.any(String),
          isActive: expect.any(Boolean),
        }),
      ]));
    });
  });

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency @types/bcrypt to v5.0.2
  • chore(deps): update dependency @types/bcryptjs to v2.4.6
  • chore(deps): update dependency @types/cors to v2.8.17
  • chore(deps): update dependency @types/express to v4.17.21
  • chore(deps): update dependency @types/morgan to v1.9.9
  • chore(deps): update dependency @types/pino-http to v5.8.4
  • chore(deps): update dependency @types/supertest to v2.0.16
  • chore(deps): update dependency @types/swagger-jsdoc to v6.0.4
  • chore(deps): update dependency @types/swagger-ui-express to v4.1.6
  • chore(deps): update dependency ts-node to v10.9.2
  • fix(deps): update dependency dayjs to v1.11.10
  • fix(deps): update dependency jsonwebtoken to v9.0.2 (jsonwebtoken, @types/jsonwebtoken)
  • fix(deps): update dependency socket.io to v4.7.3
  • chore(deps): update dependency eslint to v8.56.0
  • chore(deps): update dependency eslint-plugin-import to v2.29.1
  • chore(deps): update dependency typescript to v5.3.3
  • fix(deps): update dependency @faker-js/faker to v8.3.1
  • fix(deps): update dependency axios to v1.6.4
  • fix(deps): update dependency pino-http to v8.6.1
  • fix(deps): update dependency zod to v3.22.4
  • chore(deps): update commitlint monorepo to v18 (major) (@commitlint/cli, @commitlint/config-conventional)
  • chore(deps): update dependency @types/supertest to v6
  • chore(deps): update dependency conventional-changelog-cli to v4
  • chore(deps): update dependency npm to v10
  • chore(deps): update node.js to v20 (node, @types/node)
  • fix(deps): update dependency mongoose to v8
  • fix(deps): update dependency pino-http to v9
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • @faker-js/faker ^8.0.0
  • axios ^1.2.2
  • bcryptjs ^2.4.3
  • cors ^2.8.5
  • dayjs ^1.10.7
  • dotenv ^16.0.0
  • express ^4.17.3
  • jsonwebtoken ^9.0.0
  • lodash ^4.17.21
  • mongoose ^7.0.0
  • morgan ^1.10.0
  • pino ^8.0.0
  • pino-http ^8.0.0
  • pino-pretty ^10.0.0
  • request-promise ^4.2.6
  • socket.io ^4.5.1
  • swagger-jsdoc ^6.2.1
  • swagger-ui-express ^4.4.0
  • zod ^3.14.4
  • @commitlint/cli ^17.3.0
  • @commitlint/config-conventional ^17.3.0
  • @types/bcrypt ^5.0.0
  • @types/bcryptjs ^2.4.2
  • @types/cors ^2.8.12
  • @types/dotenv ^8.2.0
  • @types/express ^4.17.13
  • @types/jsonwebtoken ^9.0.0
  • @types/lodash ^4.14.178
  • @types/mongoose ^5.11.97
  • @types/morgan ^1.9.3
  • @types/node ^18.0.0
  • @types/pino ^7.0.5
  • @types/pino-http ^5.8.1
  • @types/socket.io ^3.0.2
  • @types/supertest ^2.0.12
  • @types/swagger-jsdoc ^6.0.1
  • @types/swagger-ui-express ^4.1.3
  • @types/yup ^0.29.13
  • @typescript-eslint/eslint-plugin ^6.0.0
  • @typescript-eslint/parser ^6.0.0
  • conventional-changelog-cli ^3.0.0
  • eslint ^8.13.0
  • eslint-config-airbnb-base ^15.0.0
  • eslint-plugin-import ^2.26.0
  • husky ^8.0.3
  • supertest ^6.2.2
  • ts-node ^10.7.0
  • ts-node-dev ^2.0.0
  • typescript ^5.0.0
  • node 18.16.1
  • npm 9.8.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.