/nodejs-empty-canvas

Empty NodeJS project (with a passing test) to do with it as you wish

Primary LanguageJavaScript

Empty NodeJS Canvas

An empty NodeJS project template.

Perfect for quick projects, coding workshops or as the basis for something bigger.

What's included

  • Mocha for tests
  • Chai for expressive assertions
  • An empty-canvas.js file with a function returning a String
  • A passing tests which asserts the String returned.

What's required

Quick setup

$ git clone git@github.com:pameck/nodejs-empty-canvas.git
$ cd nodejs-empty-canvas
$ npm install
$ npm test

Empty Canvas
    ✓ should say Hello

  1 passing (7ms)

Usage

Installing the dependencies

npm install

Running the tests

npm test

Or, to run the tests once and then automatically re-run them when the code changes:

npm run test:watch