Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 2.32 KB

README.md

File metadata and controls

54 lines (39 loc) · 2.32 KB

Click below to start a ready-to-code IDE for Node.js projects.

🎉 Click here to contribute 🥳

-= Back to Main Project =-

Node.js CI

How to run a test and debug

You have two options to achieve it:

Through Jest Test Explorer Extension

Just open the test class and click over Run test option, right above the test name.

IMPORTANT: If it is your first workspace, it may take a few seconds before showing this option.

Attaching the debugger to a single instance

Open your project and run yarn dev or yarn start. Then open the Debug and execute the Attach Program.

Environment setup

  • Node.js v12.18.2
  • NPM v6.14.5
  • Yarn v1.22.4

Installed extensions:

NPM installed packages

  • bcrypt
  • Cross-env (to read .env files)
  • dotenv
  • ESLint
  • Express
  • nodemon
    • Hot-reload
  • supertest
  • Test API Request
  • Test (Jest)
    • Configure in jest.config.js