Correct compile cache afterEach cleanup

This commit is contained in:
Damien Guard
2016-11-30 18:42:23 -08:00
parent 3fd1dbdce3
commit d434d026d3

View File

@@ -21,8 +21,8 @@ describe 'CompileCache', ->
spyOn(TypeScriptSimple::, 'compile').andReturn 'the-typescript-code'
afterEach ->
CSON.setCacheDir(CompileCache.getCacheDirectory())
CompileCache.setAtomHomeDirectory(process.env.ATOM_HOME)
CSON.setCacheDir(CompileCache.getCacheDirectory())
temp.cleanupSync()
describe 'addPathToCache(filePath, atomHome)', ->