mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-11-04 08:21:13 +00:00 
			
		
		
		
	* perf: automatically suspend the scheduler when all threads are waiting * ci: fix ci * test: cleanup
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			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)
 |