From 5071eff86448e8a60286f4996d3cd02c6906fdf0 Mon Sep 17 00:00:00 2001 From: V13Axel Date: Fri, 16 Feb 2024 16:21:09 -0500 Subject: [PATCH] only look for tests/pest.php --- lua/neotest-pest/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/neotest-pest/init.lua b/lua/neotest-pest/init.lua index 7b48add..672fe1f 100644 --- a/lua/neotest-pest/init.lua +++ b/lua/neotest-pest/init.lua @@ -13,7 +13,7 @@ local NeotestAdapter = { name = "neotest-pest" } ---@async ---@param dir string @Directory to treat as cwd ---@return string | nil @Absolute root dir of test suite -NeotestAdapter.root = lib.files.match_root_pattern("composer.json", "tests/Pest.php") +NeotestAdapter.root = lib.files.match_root_pattern("tests/Pest.php") ---Filter directories when searching for test files ---@async