0.0.3-1 • Published 13 years ago

assertvanish v0.0.3-1

Weekly downloads
23
License
-
Repository
github
Last release
13 years ago

How to use it

For a code example, see test.js and test.coffee.

To activate vanish assertions, you have to call node with --expose-debug-as=debug.

node --expose-debug-as=debug test.js

Example output:

'Object ({})' (type 'Object') is still alive!
Object ({})
  Array ({'0': [REFERENCE]})
    Function without a name from /home/jann/gitty/node-assertvanish/test.js:16
      Timer ({'repeat': 1, 'callback': [REFERENCE], 'start': [function "start"], 'stop': [function "stop"], 'again': [function "again"]})

/home/jann/gitty/node-assertvanish/index.js:19
        throw "unfullfilled vanish assertion";
        ^
unfullfilled vanish assertion

Compiling

cake build
0.0.3-1

13 years ago

0.0.2-2

13 years ago

0.0.2-1

13 years ago

0.0.1-3

13 years ago

0.0.1-2

13 years ago

0.0.1-1

13 years ago