Skip to content

Instantly share code, notes, and snippets.

@saurabh-sp-tripathi
Last active July 2, 2018 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh-sp-tripathi/8fa7e94410250bfb1ca807d54197d32f to your computer and use it in GitHub Desktop.
Save saurabh-sp-tripathi/8fa7e94410250bfb1ca807d54197d32f to your computer and use it in GitHub Desktop.
quick reference for a quick start of nodejs project
  • npm init
  • npm install mocha --save-dev
  • mpm install chai --save-dev
  • npm install should --save-dev

If web

  • npm install request --save-dev
var should = require("should");
var request = require("request");
var expect = require("chai").expect;
  • run single test exclusively : it.only(...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment