@wdio/cli
Version:
WebdriverIO testrunner command line interface
18 lines (15 loc) • 381 B
JavaScript
/**
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
if (!process.env.NODE_ENV) {
process.env.NODE_ENV = 'test'
}
/**
* use IIFE to allow running this within CJS and ESM context
*/
(async () => {
const cli = await import('../build/index.js')
return cli.run()
})()