mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Stub the correct fs method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user