mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 08:04:11 +08:00
15 lines
516 B
TypeScript
15 lines
516 B
TypeScript
|
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());
|
||
|
});
|