fix(ci): tests
This commit is contained in:
parent
1769ea079a
commit
75994c07a5
1 changed files with 3 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ describe('cp command parsing', function()
|
|||
setup_contest = function() end,
|
||||
navigate_problem = function() end,
|
||||
setup_problem = function() end,
|
||||
scrape_remaining_problems = function() end,
|
||||
}
|
||||
package.loaded['cp.setup'] = mock_setup
|
||||
|
||||
|
|
@ -101,6 +102,8 @@ describe('cp command parsing', function()
|
|||
package.loaded['cp.restore'] = nil
|
||||
package.loaded['cp.commands.picker'] = nil
|
||||
package.loaded['cp.commands.cache'] = nil
|
||||
package.loaded['cp'] = nil
|
||||
package.loaded['cp.commands.init'] = nil
|
||||
end)
|
||||
|
||||
describe('empty arguments', function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue