mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix broken unit test
This commit is contained in:
parent
aa44bae222
commit
ce1f2e2bd4
1 changed files with 4 additions and 1 deletions
|
@ -55,7 +55,10 @@ describe('LatexRunner', function() {
|
|||
|
||||
return describe('runLatex', function() {
|
||||
beforeEach(function() {
|
||||
return (this.CommandRunner.run = sinon.stub().callsArg(6))
|
||||
return (this.CommandRunner.run = sinon.stub().callsArgWith(6, null, {
|
||||
stdout: 'this is stdout',
|
||||
stderr: 'this is stderr'
|
||||
}))
|
||||
})
|
||||
|
||||
describe('normally', function() {
|
||||
|
|
Loading…
Reference in a new issue