PATH:
usr
/
lib
/
node_modules
/
pm2
/
node_modules
/
tx2
/
test
const tx2 = require('..') const should = require('should') describe('Action', function() { it('should notify about new action', (done) => { tx2.once('data', (dt) => { should(dt.type).eql('axm:action') should(dt.data.action_name).eql('something special') done() }) tx2.action('something special', (cb) => { cb({sucess:true}) }) }) })
[-] event.mocha.js
[edit]
[-] metric.mocha.js
[edit]
[+]
..
[-] action.mocha.js
[edit]
[-] issue.mocha.js
[edit]