@wdio/config
Advanced tools
Comparing version 8.33.1 to 8.34.0
@@ -36,2 +36,10 @@ import path from 'node:path'; | ||
} | ||
/** | ||
* the autoCompileOpts.autoCompile CLI argument has to be converted | ||
* from type string to type boolean | ||
*/ | ||
if (typeof _initialConfig.autoCompileOpts?.autoCompile === 'string') { | ||
const strValue = _initialConfig.autoCompileOpts.autoCompile; | ||
_initialConfig.autoCompileOpts.autoCompile = !!strValue && strValue !== 'false'; | ||
} | ||
this.merge(_initialConfig, false); | ||
@@ -38,0 +46,0 @@ } |
import url from 'node:url'; | ||
import path from 'node:path'; | ||
import { access } from 'node:fs/promises'; | ||
import { resolve } from 'import-meta-resolve'; | ||
@@ -22,2 +23,4 @@ import logger from '@wdio/logger'; | ||
await resolve('ts-node', import.meta.url); | ||
const loaderPath = await resolve('ts-node/esm/transpile-only.mjs', import.meta.url); | ||
await access(new URL(loaderPath)); | ||
process.env.WDIO_LOAD_TS_NODE = '1'; | ||
@@ -24,0 +27,0 @@ objectToEnv(autoCompileConfig.tsNodeOpts); |
{ | ||
"name": "@wdio/config", | ||
"version": "8.33.1", | ||
"version": "8.34.0", | ||
"description": "A helper utility to parse and validate WebdriverIO options", | ||
@@ -54,3 +54,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "6ee4cdd36e9f10541ede896d18b785ac9c56dacf" | ||
"gitHead": "72856f9e3e4c6ae0750a1d3f17b137724a30e4e5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47777
979