fix(test): proper stubbing/mocking
This commit is contained in:
parent
27a44697ce
commit
26807d42ba
3 changed files with 20 additions and 58 deletions
|
|
@ -88,7 +88,7 @@ describe('cp.config', function()
|
|||
|
||||
assert.has_error(function()
|
||||
config.setup(invalid_config)
|
||||
end, 'ansi color parsing must be enabled xor disabled')
|
||||
end, 'ansi: expected ansi color parsing must be enabled xor disabled, got string')
|
||||
end)
|
||||
|
||||
it('validates diff_mode values', function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue