fix broken unit test

This commit is contained in:
Brian Gough 2020-06-02 11:12:57 +01:00
parent aa44bae222
commit ce1f2e2bd4

View file

@ -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() {