mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
fix: SDA-2559: Delete app cache on Install (#1097)
* SDA-2559: Delete app cache on Install - Only remove a select set of directories related to cache * SDA-2559: fix failing tests
This commit is contained in:
committed by
GitHub
parent
a8023eef6f
commit
bf6e783885
@@ -8,7 +8,7 @@ jest.mock('fs', () => ({
|
||||
writeFileSync: jest.fn(),
|
||||
existsSync: jest.fn(() => true),
|
||||
unlinkSync: jest.fn(),
|
||||
readdirSync: jest.fn(() => ['fake1', 'fake2', 'Symphony.config', 'cloudConfig.config']),
|
||||
readdirSync: jest.fn(() => ['Cache', 'GPUCache', 'Symphony.config', 'cloudConfig.config']),
|
||||
lstatSync: jest.fn(() => {
|
||||
return {
|
||||
isDirectory: jest.fn(() => true),
|
||||
|
||||
Reference in New Issue
Block a user