tests: Mock capi.keygrabger
It will now run "static code" when the module is loaded, so need to exist.
This commit is contained in:
parent
7469e992ff
commit
980c47d775
|
@ -46,6 +46,10 @@ insulate('main', function ()
|
|||
_G.awesome = {
|
||||
connect_signal = function() end
|
||||
}
|
||||
_G.keygrabber = {
|
||||
run = function() end,
|
||||
stop = function() end,
|
||||
}
|
||||
-- luacheck: globals string
|
||||
function string.wlen(self)
|
||||
return #self
|
||||
|
|
Loading…
Reference in New Issue