feat(babel6): fix participant field spec

This commit is contained in:
Evan Morikawa 2016-05-04 12:55:16 -07:00
parent 2692fce522
commit 18df77c3c0
2 changed files with 3 additions and 3 deletions

View file

@ -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'

View file

@ -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 = {