fix(test): mock
This commit is contained in:
parent
433a468ee6
commit
0c4d09a0a9
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ describe('cp command parsing', function()
|
||||||
package.loaded['cp.state'] = mock_state
|
package.loaded['cp.state'] = mock_state
|
||||||
|
|
||||||
local mock_ui_panel = {
|
local mock_ui_panel = {
|
||||||
close_run_panel = function() end,
|
toggle_run_panel = function() end,
|
||||||
}
|
}
|
||||||
package.loaded['cp.ui.panel'] = mock_ui_panel
|
package.loaded['cp.ui.panel'] = mock_ui_panel
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue