Mailspring/internal_packages
Halla Moore f6e48ea7e4 fix(specs): Revive the ComposerView specs
Summary:
We need to wait for the `DraftEditingSession` to set it's draft before we can
pass it to the composer. I've modified these tests to properly wait for the
draft promise. Additionally, I removed the `DraftStore.isSendingDraft()` stub
so we run the actual logic for determing if a draft can be sent. We had some
tests with this stub, but then we had other tests that made sure it worked
without the stub, and I don't see why we don't just run the tests without the
stub to begin with. I added a stub to `@session.ensureCorrectAccount()`
to get around issues with committing the draft's change set.

Test Plan: Ran the suite!

Reviewers: evan, juan

Reviewed By: evan, juan

Differential Revision: https://phab.nylas.com/D3834
2017-02-03 14:15:39 -08:00
..
account-sidebar [N1] Changes required for implementing snooze 2017-02-02 17:05:32 -08:00
attachments deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
category-picker feat(analytics): add analytics for change mail tasks 2017-01-24 12:22:33 -05:00
composer fix(specs): Revive the ComposerView specs 2017-02-03 14:15:39 -08:00
composer-emoji fix(import): require 'rx' from 'nylas-exports' 2016-12-15 15:32:47 -05:00
composer-markdown Fix references for ~/.nylas to ~/.nylas-mail 2017-01-13 18:54:37 -08:00
composer-signature Normalized size of buttons in preferences (fixes #2753) (#3112) 2017-01-30 02:47:15 -08:00
composer-spellcheck [spellcheck] Fix spellcheck debouncing 2017-01-26 13:40:45 -08:00
composer-templates fix(rename): update nylas/N1 to nylas/nylas-mail Github references 2017-01-30 11:50:39 -08:00
composer-translate fix(rename): update nylas/N1 to nylas/nylas-mail Github references 2017-01-30 11:50:39 -08:00
deltas Properly handle non-api errors in account delta conn 2017-01-31 12:45:57 -08:00
draft-list fix(import): require 'rx' from 'nylas-exports' 2016-12-15 15:32:47 -05:00
events deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
github-contact-card fix(rename): update nylas/N1 to nylas/nylas-mail Github references 2017-01-30 11:50:39 -08:00
keybase Create a wrapper around legacy N1 APIs. 2017-01-09 15:18:43 -08:00
main-calendar rm(calendar): Comment out more calendar things 2017-01-16 19:32:18 -08:00
message-autoload-images 🎨(rename): Update Nylas N1 to Nylas Mail 2017-01-12 12:05:44 -08:00
message-list feat(analytics): add analytics for change mail tasks 2017-01-24 12:22:33 -05:00
message-view-on-github Fix references for ~/.nylas to ~/.nylas-mail 2017-01-13 18:54:37 -08:00
mode-switch 🎨(rename): Update Nylas N1 to Nylas Mail 2017-01-12 12:05:44 -08:00
notifications fix(SyncActivity): Add keys to ellipsis components 2017-02-01 14:06:33 -08:00
onboarding [N1] Changes required for implementing snooze 2017-02-02 17:05:32 -08:00
participant-profile fix(clearbit): catch API errors 2017-01-17 12:42:40 -08:00
personal-level-indicators fix(rename): update nylas/N1 to nylas/nylas-mail Github references 2017-01-30 11:50:39 -08:00
phishing-detection Fix references for ~/.nylas to ~/.nylas-mail 2017-01-13 18:54:37 -08:00
plugins Fix references for ~/.nylas to ~/.nylas-mail 2017-01-13 18:54:37 -08:00
preferences [N1] Changes required for implementing snooze 2017-02-02 17:05:32 -08:00
print fix(thread-popout) Add missing packages to the 'thread-popout' window 2016-10-18 11:02:30 -07:00
remove-tracking-pixels 🎨(rename): Update Nylas N1 to Nylas Mail 2017-01-12 12:05:44 -08:00
screenshot-mode
search-index [search-index] Embiggen Thread and Contact indexes 2017-01-27 10:30:45 -08:00
send-and-archive feat(analytics): add analytics for change mail tasks 2017-01-24 12:22:33 -05:00
system-tray deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
theme-picker deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
thread-list [N1] Changes required for implementing snooze 2017-02-02 17:05:32 -08:00
thread-search feat(analytics): add analytics for change mail tasks 2017-01-24 12:22:33 -05:00
thread-snooze [N1] Changes required for implementing snooze 2017-02-02 17:05:32 -08:00
ui-dark build(*): electron-compile, electron-packager instead of custom tooling 2016-11-09 13:52:10 -08:00
ui-darkside fix(rename): update nylas/N1 to nylas/nylas-mail Github references 2017-01-30 11:50:39 -08:00
ui-less-is-more 🎨(rename): Update Nylas N1 to Nylas Mail 2017-01-12 12:05:44 -08:00
ui-light build(*): electron-compile, electron-packager instead of custom tooling 2016-11-09 13:52:10 -08:00
ui-taiga 🎨(rename): Update Nylas N1 to Nylas Mail 2017-01-12 12:05:44 -08:00
ui-ubuntu 🎨(rename): Update Nylas N1 to Nylas Mail 2017-01-12 12:05:44 -08:00
undo-redo deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00
unread-notifications perf(sync): don't send message bodies across IPC & limit global IPC 2017-01-16 10:28:49 -08:00
verify-install-location Don't try to move the app file to the Application folder ourselves 2017-01-16 12:31:15 -08:00
worker-ui fix(sync-status):Use weighted percentage avg for sync status progress bar 2016-12-21 18:30:54 -05:00