I am running Testcases (typescripts files) from the command prompt and there only providing settings like browser selection and concurrency number. But I want to use common settings mentioned in TestCafe configuration file testcafe.js. Can someone please help me with sample testcafe configuration file, and how to execute testcases to use settings mentioned in the configuration file.
const createTestCafe = require('testcafe');
createTestCafe('localhost', 1337,1338)
.then(tc=>{
testcafe= tc;
const runner=testcafe.createRunner();
return runner
.browsers(['chrome'])
.concurrency(3)
.run();
});