Documentation
REFERENCE
Runner.tsConfigPath Method
Deprecated as of TestCafe v.1.10.0 in favour of the Runner.compilerOptions method.
Enables TestCafe to use a custom TypeScript configuration file and specifies its location.
async tsConfigPath(path) → this
Parameter | Type | Description |
---|---|---|
path |
String | The absolute or relative path to the TypeScript configuration file. Relative paths are resolved against the current directory (the directory from which you run TestCafe). |
runner.tsConfigPath('/Users/s.johnson/testcafe/tsconfig.json');
Related configuration file property: tsConfigPath