code: function (data) {
      this.detailContents.testResult = data;
      this.detailContents.styles = this.styles;
      this.detailContents.js = this.js;
      fs.writeFileSync(this.dest + '/details/' + data.id + '.html', this.templates.detail(this.detailContents), 'utf8');
      return this;
    }
docs: Writes a detail page to the file system
  
  @method finishDetailPage
  @param {object} data Event data
  @chainable