diff --git a/spec/components/participants-text-field-spec.cjsx b/spec/components/participants-text-field-spec.cjsx index cf46d2e35..e4d70df19 100644 --- a/spec/components/participants-text-field-spec.cjsx +++ b/spec/components/participants-text-field-spec.cjsx @@ -11,8 +11,8 @@ proxyquire = require 'proxyquire' Utils, } = require 'nylas-exports' -ParticipantsTextField = proxyquire '../../src/components/participants-text-field', - 'nylas-exports': {Contact, ContactStore} +ParticipantsTextField = proxyquire('../../src/components/participants-text-field', + 'nylas-exports': {Contact, ContactStore}).default participant1 = new Contact id: 'local-1' diff --git a/spec/mailbox-perspective-spec.es6 b/spec/mailbox-perspective-spec.es6 index b26b5498c..868e97fc2 100644 --- a/spec/mailbox-perspective-spec.es6 +++ b/spec/mailbox-perspective-spec.es6 @@ -10,7 +10,7 @@ import CategoryRemovalTargetRulesets from '../internal_packages/thread-list/lib/ const {Default} = CategoryRemovalTargetRulesets; -describe('MailboxPerspective', ()=> { +describe('MailboxPerspective', function mailboxPerspective() { beforeEach(()=> { this.accountIds = ['a1', 'a2'] this.accounts = {