chore: plenary tests POC: add make entry, specify tests
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
local test_harness = require('plenary.test_harness')
|
||||
|
||||
local DIR_TEST = vim.env.DIR_REPO .. '/tests'
|
||||
local FILE_MINIMAL_INIT = DIR_TEST .. '/minimal_init.lua'
|
||||
|
||||
test_harness.test_directory(DIR_TEST, { minimal_init = FILE_MINIMAL_INIT })
|
||||
local test_harness = require("plenary.test_harness")
|
||||
|
||||
test_harness.test_directory(
|
||||
vim.env.TEST_NAME,
|
||||
{
|
||||
minimal_init = vim.env.DIR_REPO .. "/tests/minimal_init.lua",
|
||||
sequential = true,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -18,7 +18,6 @@ describe("utils.path_add_trailing", function()
|
||||
end)
|
||||
|
||||
describe("utils.canonical_path", function()
|
||||
|
||||
before_each(function()
|
||||
stub(vim.fn, "has")
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user