fix(ci): suppress luasnip logger too

This commit is contained in:
Barrett Ruth 2025-09-19 23:44:46 -04:00
parent a8f16fb4f9
commit 26ed0e6d52
2 changed files with 36 additions and 33 deletions

View file

@ -3,6 +3,8 @@ describe('cp.snippets', function()
local mock_luasnip
before_each(function()
spec_helper.setup()
package.loaded['cp.snippets'] = nil
snippets = require('cp.snippets')
mock_luasnip = {
snippet = function(trigger, body)
@ -32,6 +34,7 @@ describe('cp.snippets', function()
after_each(function()
spec_helper.teardown()
package.loaded['cp.snippets'] = nil
package.loaded['luasnip'] = nil
package.loaded['luasnip.extras.fmt'] = nil
end)