mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 15:46:28 +08:00
fix(lint)
This commit is contained in:
parent
ba0a2f0294
commit
248467894e
1 changed files with 5 additions and 5 deletions
|
@ -289,11 +289,11 @@ describe "FileDownloadStore", ->
|
|||
expect(shell.showItemInFolder).toHaveBeenCalledWith(@userSelectedPath)
|
||||
|
||||
it "should update the NylasEnv.savedState.lastDownloadDirectory", ->
|
||||
NylasEnv.savedState.lastDownloadDirectory = null
|
||||
@userSelectedPath = "/Users/imaginary/.nylas/Another Random Folder/file.jpg"
|
||||
FileDownloadStore._fetchAndSave(@testfile)
|
||||
advanceClock(1)
|
||||
expect(NylasEnv.savedState.lastDownloadDirectory).toEqual('/Users/imaginary/.nylas/Another Random Folder')
|
||||
NylasEnv.savedState.lastDownloadDirectory = null
|
||||
@userSelectedPath = "/Users/imaginary/.nylas/Another Random Folder/file.jpg"
|
||||
FileDownloadStore._fetchAndSave(@testfile)
|
||||
advanceClock(1)
|
||||
expect(NylasEnv.savedState.lastDownloadDirectory).toEqual('/Users/imaginary/.nylas/Another Random Folder')
|
||||
|
||||
describe "file extensions", ->
|
||||
it "should allow the user to save the file with a different extension", ->
|
||||
|
|
Loading…
Reference in a new issue