Open AbaoFromCUG opened 2 months ago
yeah, I found the cause of this issue, busted.run(file)
will run a a file and return immediately, regardless of whether it really completed or not. But neotest-plenary
assumes that it has been completed
In busted.run()
, just wrap and run the file in a coroutine.wrap
A solution is to hack the busted.run
…… such a hell
Here is a test case modified from https://github.com/nvim-lua/plenary.nvim/blob/master/TESTS_README.md, it is expected failed after 10 seconds
I run with
neotest
+neotest-plenary
, which just exist without any error, here is outputMaybe a issue related to
coroutine
orapi-fast
, I am a little confused with them