mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix unit tests
This commit is contained in:
parent
2950c01130
commit
c0ed71f65c
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@ path = require "path"
|
|||
describe "ResourceWriter", ->
|
||||
beforeEach ->
|
||||
@ResourceWriter = SandboxedModule.require modulePath, requires:
|
||||
"fs": @fs = { mkdir: sinon.stub().callsArg(1) }
|
||||
"fs": @fs =
|
||||
mkdir: sinon.stub().callsArg(1)
|
||||
unlink: sinon.stub().callsArg(1)
|
||||
"wrench": @wrench = {}
|
||||
"./UrlCache" : @UrlCache = {}
|
||||
"mkdirp" : @mkdirp = sinon.stub().callsArg(1)
|
||||
|
|
Loading…
Reference in a new issue