Mailspring/app/spec/stores/focused-contacts-store-spec.es6
2018-01-23 17:35:09 -08:00

15 lines
516 B
JavaScript

const FocusedContactsStore = require('../../src/flux/stores/focused-contacts-store');
xdescribe('FocusedContactsStore', function() {
beforeEach(function() {
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());
});