1
0
Fork 0
mirror of https://github.com/folke/lazy.nvim.git synced 2025-04-11 01:42:32 +00:00
lazy.nvim/tests/core/init_spec.lua
Folke Lemaitre c7ed87f9ca
perf: automatically suspend the scheduler when all threads are waiting ()
* perf: automatically suspend the scheduler when all threads are waiting

* ci: fix ci

* test: cleanup
2024-06-30 08:48:03 +02:00

10 lines
356 B
Lua

local Util = require("lazy.core.util")
describe("init", function()
it("has correct environment for tests", function()
for _, name in ipairs({ "config", "data", "cache", "state" }) do
local path = Util.norm(vim.fn.stdpath(name) --[[@as string]])
assert(path:find(".tests/" .. name, 1, true), path .. " not in .tests")
end
end)
end)