Reference Source Test

test/integration-test/src/Listens/Listens.test.js

import assert from 'assert';
import {find} from '../../util';

describe('test/Listens/Listens:', ()=>{
  it('listens events', ()=>{
    const doc = find('longname', 'src/Listens/Listens.js~TestListensClass#methodListens');
    assert.deepEqual(doc.listens, [
      {
        types: ['TestListensEvent1'],
        description: ''
      },
      {
        types: ['TestListensEvent2'],
        description: 'listens TestListensEvent2'
      }
    ]);
  });
});