mirror of
https://github.com/eleith/emailjs.git
synced 2024-06-29 10:00:57 +00:00
test/messages: increase timeout for attachments and streams
This commit is contained in:
parent
49bba9b9c9
commit
caf8cff187
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user