mirror of
https://github.com/PriceHiller/ppd.nvim.git
synced 2024-12-30 15:19:14 -06:00
14 lines
382 B
Lua
14 lines
382 B
Lua
require("tests.minimal_init")
|
|
|
|
---@type string
|
|
local test_file = vim.v.argv[#vim.v.argv]
|
|
if test_file == "" or not test_file:find("tests/specs/", nil, true) then
|
|
test_file = "tests/specs"
|
|
end
|
|
print("[STARTUP] Running all tests in " .. test_file)
|
|
|
|
require("plenary.test_harness").test_directory(test_file, {
|
|
minimal_init = "tests/minimal_init.lua",
|
|
sequential = true,
|
|
})
|