All files / wdio-allure-reporter/tests/__fixtures__ runner.js

100% Statements 4/4
100% Branches 0/0
100% Functions 3/3
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1930x                       15x       15x    
const runner =  () => ({
    type: 'runner',
    start: '2018-05-14T15:17:18.901Z',
    _duration: 0,
    cid: '0-0',
    capabilities: { foo: 'bar' },
    sanitizedCapabilities: 'chrome.66_0_3359_170.linux',
    config: { capabilities: { browserName: 'chrome', version: '68' } },
    specs: ['/tmp/user/spec.js']
})
 
export function runnerStart() {
    return Object.assign(runner())
}
 
export function runnerEnd() {
    return Object.assign(runner(), { end: '2018-05-14T15:17:21.631Z', failures: 0, _duration: 2730 })
}