1
0
Fork 0
mirror of https://github.com/pnx/neotest-phpunit synced 2026-06-16 03:54:55 +02:00

only look for tests/pest.php

This commit is contained in:
V13Axel 2024-02-16 16:21:09 -05:00
parent 557018f052
commit 5071eff864

View file

@ -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