1
0
mirror of https://github.com/eleith/emailjs.git synced 2024-06-26 16:59:03 +00:00

test/messages: increase timeout for attachments and streams

This commit is contained in:
Zack Schuster 2020-04-22 19:32:46 -07:00
parent 49bba9b9c9
commit caf8cff187

View File

@ -365,6 +365,8 @@ describe('messages', function() {
});
it('attachments', function(done) {
this.timeout(4000); /** simpleParser takes a while on macOS */
var pdf = fs.readFileSync(path.join(__dirname, 'attachments/smtp.pdf'));
var tar = fs.readFileSync(
path.join(__dirname, 'attachments/postfix-2.8.7.tar.gz')
@ -407,6 +409,8 @@ describe('messages', function() {
});
it('streams', function(done) {
this.timeout(4000); /** simpleParser takes a while on macOS */
var pdf = fs.readFileSync(path.join(__dirname, 'attachments/smtp.pdf'));
var tar = fs.readFileSync(
path.join(__dirname, 'attachments/postfix-2.8.7.tar.gz')