whiteout-io/mail-html5 — pull request #70 by andris9 (2014-06-17 10:01:58+00:00)
Title: [WO-295] email-dao integration tests

**Notes**

* Gruntfile – added timeout option for PhantomJS. Even 20 sec. was too little, so I set it to 100 sec.
* package.json – rearranged commands for `npm test` command as integration tests require the build step
* email-dao.js – passed smtpclient option to pgpmailer constructor, access to the smtpclient was needed to mock the TCPSocket object. Additionally modified new-unit/email-dao-test.js to include the same option, oherwise these tests failed

> See also [BrowserSMTP](https://github.com/whiteout-io/browsersmtp) for the embedded SMTP server and [BrowserCrow](https://github.com/whiteout-io/browsercrow) for the embedded IMAP server.