mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 18:23:21 +08:00
fix(spec): fix cache in spec
This commit is contained in:
parent
f5c40c6f99
commit
7024dadb66
2 changed files with 2 additions and 2 deletions
|
@ -12,6 +12,8 @@ describe "ThemeManager", ->
|
|||
configDirPath = NylasEnv.getConfigDirPath()
|
||||
|
||||
beforeEach ->
|
||||
cache = NylasEnv.fileListCache()
|
||||
cache.lessCacheImportPaths = null
|
||||
spyOn(console, "log")
|
||||
spyOn(console, "warn")
|
||||
spyOn(console, "error")
|
||||
|
|
|
@ -2,8 +2,6 @@ _ = require 'underscore'
|
|||
path = require 'path'
|
||||
LessCache = require 'less-cache'
|
||||
|
||||
fileCacheImportPaths = null
|
||||
|
||||
# {LessCache} wrapper used by {ThemeManager} to read stylesheets.
|
||||
module.exports =
|
||||
class LessCompileCache
|
||||
|
|
Loading…
Reference in a new issue