webdriverio/wdio-mocha-framework

View on GitHub
test/fixtures/hooks.using.custom.commands.js

Summary

Maintainability
A
0 mins
Test Coverage
const NOOP = () => {}

global.____wdio = {
    customWdio: {},
    customWdioPromise: {},
    customNativePromise: {},
    customQPromise: {},
    customWrapWdio: {},
    customWrapWdioPromise: {},
    customWrapTwoPromises: {},
    customHandleWdioAsPromise: {}
}

export default {
    capabilities: {
        browserName: 'chrome'
    },

    mochaOpts: {
        timeout: 5000
    },

    onPrepare: NOOP,
    before: NOOP,
    beforeSuite: NOOP,
    beforeHook: NOOP,
    afterHook: NOOP,
    beforeTest: NOOP,
    beforeCommand: NOOP,
    afterCommand: NOOP,
    afterTest: NOOP,
    afterSuite: NOOP,
    after: NOOP,
    onComplete: NOOP
}