Beh01der / node-grok

Regular expression template library for Node.js inspired by logstash grok filter module
ISC License
51 stars 32 forks source link

use mocha for testing #3

Closed Kosta-Github closed 9 years ago

Kosta-Github commented 9 years ago

just call:

npm test

output is something like this:

> node-grok@1.0.2 test /Users/kosta/Devel/git/node-grok
> node_modules/mocha/bin/_mocha ./lib/test.js

  grok
    #parse()
      ✓ should parse the given explicit pattern correctly

  1 passing (30ms)