mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
fix(spec): remove obsolete account store spec
This commit is contained in:
parent
bf9052391f
commit
b8adb922e3
1 changed files with 0 additions and 4 deletions
|
@ -122,7 +122,6 @@ describe "AccountStore", ->
|
|||
"organization_unit": "label"
|
||||
@instance = new @constructor
|
||||
spyOn(NylasEnv.config, "set")
|
||||
spyOn(Actions, 'focusDefaultMailboxPerspectiveForAccounts')
|
||||
spyOn(@instance, "trigger")
|
||||
@instance.addAccountFromJSON(@json)
|
||||
|
||||
|
@ -139,9 +138,6 @@ describe "AccountStore", ->
|
|||
# Version must be updated last since it will trigger other windows to load nylas.accounts
|
||||
expect(NylasEnv.config.set.calls[2].args).toEqual(['nylas.accountsVersion', 1])
|
||||
|
||||
it "selects the account", ->
|
||||
expect(Actions.focusDefaultMailboxPerspectiveForAccounts).toHaveBeenCalledWith(["B"])
|
||||
|
||||
it "triggers", ->
|
||||
expect(@instance.trigger).toHaveBeenCalled()
|
||||
|
||||
|
|
Loading…
Reference in a new issue