Mailspring/app/spec/stores/focused-contacts-store-spec.coffee

14 lines
496 B
CoffeeScript

proxyquire = require 'proxyquire'
FocusedContactsStore = require '../../src/flux/stores/focused-contacts-store'
xdescribe "FocusedContactsStore", ->
beforeEach ->
FocusedContactsStore._currentThreadId = null
FocusedContactsStore._clearCurrentParticipants(silent: true)
it "returns no contacts with empty", ->
expect(FocusedContactsStore.sortedContacts()).toEqual []
it "returns no focused contact when empty", ->
expect(FocusedContactsStore.focusedContact()).toBeNull()