1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 13:40:05 +08:00
SpaceVim/bundle/plenary.nvim/lua/plenary/async/tests.lua

22 lines
375 B
Lua
Raw Normal View History

2022-05-16 22:20:10 +08:00
local util = require "plenary.async.util"
local M = {}
M.describe = function(s, async_func)
describe(s, async_func)
end
M.it = function(s, async_func)
it(s, util.will_block(async_func))
end
M.before_each = function(async_func)
before_each(util.will_block(async_func))
end
M.after_each = function(async_func)
after_each(util.will_block(async_func))
end
return M