All files / wdio-allure-reporter/tests/__fixtures__ suite.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 19 20 2130x                           15x       15x    
const suite = () => ({
    type: 'suite',
    start: '2018-05-14T15:17:18.914Z',
    _duration: 0,
    uid: 'A passing Suite2',
    cid: '0-0',
    title: 'A passing Suite',
    fullTitle: 'A passing Suite',
    tests: [],
    hooks: [],
    suites: []
})
 
export function suiteStart() {
    return Object.assign(suite())
}
 
export function suiteEnd() {
    return Object.assign(suite(), { end: '2018-05-14T15:17:21.631Z', _duration: 2730 })
}