tests: Add capi.client to the prompt unit tests.

It will be needed later.
This commit is contained in:
Emmanuel Lepage Vallee 2019-12-01 19:58:51 -05:00
parent 7440cf66f0
commit a8dcd3b2a2
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ insulate('main', function ()
run = function() end, run = function() end,
stop = function() end, stop = function() end,
} }
_G.client = {
connect_signal = function() end
}
-- luacheck: globals string -- luacheck: globals string
function string.wlen(self) function string.wlen(self)
return #self return #self