feat(ci): try to remove test logs
This commit is contained in:
parent
a00799abf4
commit
cdcf11767e
1 changed files with 6 additions and 0 deletions
|
|
@ -4,6 +4,11 @@ describe('cp.execute', function()
|
||||||
local temp_files
|
local temp_files
|
||||||
|
|
||||||
before_each(function()
|
before_each(function()
|
||||||
|
package.loaded['cp.log'] = {
|
||||||
|
log = function() end,
|
||||||
|
set_config = function() end,
|
||||||
|
}
|
||||||
|
|
||||||
execute = require('cp.execute')
|
execute = require('cp.execute')
|
||||||
mock_system_calls = {}
|
mock_system_calls = {}
|
||||||
temp_files = {}
|
temp_files = {}
|
||||||
|
|
@ -60,6 +65,7 @@ describe('cp.execute', function()
|
||||||
|
|
||||||
after_each(function()
|
after_each(function()
|
||||||
vim.system = vim.system_original or vim.system
|
vim.system = vim.system_original or vim.system
|
||||||
|
package.loaded['cp.log'] = nil
|
||||||
temp_files = {}
|
temp_files = {}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue