|
|
@@ -18,6 +18,7 @@ describe "CompileManager", ->
|
|
|
"child_process": @child_process = {}
|
|
|
"./CommandRunner": @CommandRunner = {}
|
|
|
"./DraftModeManager": @DraftModeManager = {}
|
|
|
+ "./TikzManager": @TikzManager = {}
|
|
|
"fs": @fs = {}
|
|
|
@callback = sinon.stub()
|
|
|
|
|
|
@@ -55,6 +56,7 @@ describe "CompileManager", ->
|
|
|
@OutputFileFinder.findOutputFiles = sinon.stub().callsArgWith(2, null, @output_files)
|
|
|
@OutputCacheManager.saveOutputFiles = sinon.stub().callsArgWith(2, null, @build_files)
|
|
|
@DraftModeManager.injectDraftMode = sinon.stub().callsArg(1)
|
|
|
+ @TikzManager.needsOutputFile = sinon.stub().returns(false)
|
|
|
|
|
|
describe "normally", ->
|
|
|
beforeEach ->
|