mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
fix broken unit test
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user