From b842b86fd6b174131a7d77f36fc9367d82ce209b Mon Sep 17 00:00:00 2001 From: DudaGod Date: Wed, 10 Jul 2024 18:05:08 +0300 Subject: [PATCH] feat: look for configs in format testplane.config.{ts,js,cts,cjs} --- src/config/defaults.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/config/defaults.js b/src/config/defaults.js index c44ca5b6..a046ab4a 100644 --- a/src/config/defaults.js +++ b/src/config/defaults.js @@ -113,4 +113,13 @@ module.exports = { passive: false, }; -module.exports.configPaths = [".testplane.conf.ts", ".testplane.conf.js", ".hermione.conf.ts", ".hermione.conf.js"]; +module.exports.configPaths = [ + ".testplane.conf.ts", + ".testplane.conf.js", + "testplane.config.ts", + "testplane.config.js", + "testplane.config.cts", + "testplane.config.cjs", + ".hermione.conf.ts", + ".hermione.conf.js", +];