index.js
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;
  }
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;
  }
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 ; }
Writes a detail page to the file system

@method finishDetailPage
@param {object} data Event data
@chainable
Writes a detail page to the file system