Runner.tsConfigPath Method

Warning

This method is deprecated as of TestCafe v.1.10.0 in favour of Runner.compilerOptions.

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