ptz-assert
ptz-assert is a wrapper for npm assert
Be welcome to learn, help and play!!!
Install
Install with npm:
$ npm install ptz-assert --save
or clone from github:
$ git clone https://github.com/angeloocana/ptz-assert.git
Setup
$ npm install $ typings install
*Add to your typings/index.d.ts
///
Test
$ npm test
Usage
; let obj = test:"ok, i'm a valid obj"; ;//or test with optional message ; var actual = 'ab';var expected = 'ab';; var list = 'a' 'b';;