mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix unit tests
This commit is contained in:
parent
b8fdbdb406
commit
afca9ba0cb
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,10 @@ describe 'TemplatesController', ->
|
|||
|
||||
beforeEach ->
|
||||
@request = sinon.stub()
|
||||
@request.returns pipe:->
|
||||
@request.returns {
|
||||
pipe:->
|
||||
on:->
|
||||
}
|
||||
@fs = {
|
||||
unlink : sinon.stub()
|
||||
createWriteStream : sinon.stub().returns(on:(_, cb)->cb())
|
||||
|
|
Loading…
Reference in a new issue