Reference Source Test

test/integration-test/src/Example/Example.test.js

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

describe('test/Example/Example:', ()=>{
  it('has example', ()=>{
    const doc = find('longname', 'src/Example/Example.js~TestExample');
    assert.deepEqual(doc.examples, [
      "console.log(1)",
      "<caption>this is caption</caption>\nconsole.log(2)"
    ]);
  });
});