mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 07:58:04 +03:00
Stub the correct fs method
This commit is contained in:
parent
046ff87f01
commit
21e220cd5f
@ -878,7 +878,7 @@ describe "Config", ->
|
||||
|
||||
beforeEach ->
|
||||
atom.notifications.onDidAddNotification addErrorHandler = jasmine.createSpy()
|
||||
spyOn(fs, "existsSync").andCallFake ->
|
||||
spyOn(fs, "makeTreeSync").andCallFake ->
|
||||
error = new Error()
|
||||
error.code = 'EPERM'
|
||||
throw error
|
||||
|
Loading…
Reference in New Issue
Block a user