mirror of
https://github.com/appium/appium.git
synced 2026-10-26 02:29:38 +08:00
BREAKING CHANGE: @appium/plugin-test-support is now an ESM-only package. It can no longer be loaded via CommonJS require(); consumers must use import or dynamic import(). Deep imports into the package's internals are no longer possible — only the public entry point is exposed via exports.
10 lines
317 B
TypeScript
10 lines
317 B
TypeScript
import {fileURLToPath} from 'node:url';
|
|
|
|
export {getPort, pluginE2EHarness} from './harness.js';
|
|
export type {AppiumEnv, E2ESetupOpts} from './types.js';
|
|
|
|
// Handle smoke test flag
|
|
if (process.argv[1] && fileURLToPath(import.meta.url) === process.argv[1] && process.argv[2] === '--smoke-test') {
|
|
process.exit(0);
|
|
}
|