🏡 index : quine-global/webdriverio.git

import { defineConfig } from '@wdio/config'
import CustomReporter from './reporter/my.custom.reporter'

export const config = defineConfig({
    // ...
    reporters: [
        /**
         * use imported reporter class
         */
        [CustomReporter, {
            someOption: 'foobar'
        }],
        /**
         * use absolute path to reporter
         */
        ['/path/to/reporter.js', {
            someOption: 'foobar'
        }]
    ],
    // ...
})